Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karel/cmc api #2532

Merged
merged 11 commits into from
Dec 7, 2022
Merged

Karel/cmc api #2532

merged 11 commits into from
Dec 7, 2022

Conversation

KaiserKarel
Copy link
Contributor

Adds an API server for coinmarketcap to consume.

@KaiserKarel KaiserKarel requested a review from a team as a code owner December 2, 2022 19:52
@KaiserKarel KaiserKarel requested review from a team December 2, 2022 19:52
@KaiserKarel KaiserKarel requested a review from a team as a code owner December 2, 2022 19:52
@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated
pablo-nightly ⬜️ Ignored (Inspect) Dec 6, 2022 at 9:51PM (UTC)
picasso-nightly ⬜️ Ignored (Inspect) Dec 6, 2022 at 9:51PM (UTC)

@github-actions
Copy link

github-actions bot commented Dec 2, 2022

Nix commands for this PR

NOTE: You can also run our Nix commands in Docker. See the bottom of this comment.

Make sure you have setup the Composable community cache:

(you only need to run it once on your machine)

nix-shell -p cachix --command "cachix use composable-community"

Show all possible apps, shells and packages:

nix flake show "github:ComposableFi/composable/061d369850d14c3c20bd29ce89260c2cafd730b3 --allow-import-from-derivation

Run the Composable node alone:

nix run "github:ComposableFi/composable/061d369850d14c3c20bd29ce89260c2cafd730b3#composable-node" -L

Spin up a local devnet:

nix run "github:ComposableFi/composable/061d369850d14c3c20bd29ce89260c2cafd730b3#devnet" -L --option sandbox relaxed --show-trace

Spin up a local XCVM devnet:

nix run "github:ComposableFi/composable/061d369850d14c3c20bd29ce89260c2cafd730b3#devnet-xcvm" -L

View the docs:

nix run ".#docs-server"

Run this without Nix in Docker.

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v nix:/nix -it nixos/nix bash -c "nix-env -iA nixpkgs.cachix && cachix use composable-community && nix run github:ComposableFi/Composable/061d369850d14c3c20bd29ce89260c2cafd730b3#devnet-dali -L --extra-experimental-features nix-command --extra-experimental-features flakes"

NOTE: You can swap devnet-dali in the command above with any Nix package

For more info on how to use Nix, check out our Nix docs

Note that the initial build may take about one hour if it has not been cached by our CI yet. Once it is cached, builds should take about one minute. We currently do not provide build caches for ARM machines such as M1 Macs, but building on ARM is supported.

@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 2, 2022 19:54 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 2, 2022 19:59 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 3, 2022 11:01 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 3, 2022 11:11 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 3, 2022 11:15 Inactive
@github-actions
Copy link

github-actions bot commented Dec 5, 2022

Visit the preview URL for this PR (updated for commit 271c379):

https://picasso-f0d16--pr2532-karel-cmc-api-ik99ujha.web.app

(expires Tue, 13 Dec 2022 10:54:37 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d4e030ec330173845b1768cd217beee9791d20f1

@github-actions
Copy link

github-actions bot commented Dec 5, 2022

Visit the preview URL for this PR (updated for commit 271c379):

https://pablo-afa5d--pr2532-karel-cmc-api-s7ka3g8l.web.app

(expires Tue, 13 Dec 2022 10:54:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 8ef316967fc7aa470dc109d617260c43c009e4e3

@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 5, 2022 13:51 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 5, 2022 13:55 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 5, 2022 14:27 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 5, 2022 14:56 Inactive
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 5, 2022 15:38 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 5, 2022 16:03 Inactive
@KaiserKarel KaiserKarel requested review from a team as code owners December 5, 2022 16:28
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 5, 2022 16:33 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 5, 2022 16:39 Inactive
Copy link
Contributor

@vimukthi-git vimukthi-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

code/services/cmc-api/src/main.rs Show resolved Hide resolved
@vercel vercel bot temporarily deployed to Preview – picasso-nightly December 6, 2022 21:24 Inactive
@vercel vercel bot temporarily deployed to Preview – pablo-nightly December 6, 2022 21:28 Inactive
mergify bot added a commit that referenced this pull request Dec 6, 2022
@mergify mergify bot merged commit 1ec4cea into main Dec 7, 2022
@mergify mergify bot deleted the karel/cmc-api branch December 7, 2022 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants