Giter Site home page Giter Site logo

jupiter-quote-api's Introduction


We no longer maintain this repo. For the latest API, check out Jupiter Swap API.

[Deprecated] Jupiter Quote API

This is the same code that we use to host our Jupiter API on fly.io.

Prerequisite

How to Run Locally

  1. pnpm install
  2. RPC_URL=xxxxxxx pnpm start

Deploy to fly.io With Dockerfile

  1. Install flyctl: https://fly.io/docs/hands-on/install-flyctl/
  2. Sign up on fly.io: https://fly.io/docs/hands-on/sign-up/
  3. On the project directory: fly launch
  • You don't need the Postgresql database
  • You don't need the Redis cache
  1. Update the RPC_URL to your own RPC in fly.toml
  2. Then, fly deploy
  3. You will need a more powerful machine to run the API: fly scale vm performance-2x

Tips

  • you can edit the number of instances to run in production according to number of cores in scripts/pm2.config.js.

jupiter-quote-api's People

Contributors

siong1987 avatar zhengyutay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.