Cryptocurrency_exchange_app is a Restful service written by Node.js.
- Get top moving cryptos and list all cryptocurrencies with more than +5% or less than -5% change over the last 24 hours.
- Get top moving cryptos and convert price from USD to a specific currency based on user Input for specific cryptocurrency.
Cryptocurrency_exchange_app uses a number of open source projects to work properly:
Install and build the dependencies, service will run on port 3000 in default.
npm install
run service
npm start
npm test
Endpoint | What it does | Request type |
---|---|---|
/crypto | Return top movings cryptocurrency over last 24 hours. | GET |
/crypto?convertFromId={convertFromId}&convertToId={convertToId}&amount={amount} | Return top movings cryptocurrency over last 24 hours and convert price to specific fiat currency, if receive parameter, will append a conversion result to original object. | GET |
Service is available on https://cryptocurrency-exchange-app.herokuapp.com/crypto