A Service that supplies rates and market conversion for ZelCore assets to other currencies
Requires node version 10.0 and above
Install npm dependencies with command:
npm install
Start the service with command:
npm start
After the service has been started, you should be able to browse to it on port 3333. Example: http://localhost:3333/rates
docker run -e API_KEY=yourApiKey -p 4444:3333 zelcash/rates-api
To update typedoc documentation please run.
npx typedoc
# API keys for external services
COIN_GECKO_KEY='YOUR_COINGECKO_API_KEY' # CoinGecko API key (placeholder)
CRYPTO_COMPARE_KEY='YOUR_CRYPTOCOMPARE_API_KEY' # CryptoCompare API key (placeholder)
LIVE_COIN_WATCH_KEY='YOUR_LIVECOINWATCH_API_KEY' # LiveCoinWatch API key (placeholder)
# Environment settings
NODE_ENV=development # Node environment (can be 'development', 'production', or 'test')
BASE_URL=http://localhost:3333 # Base URL for the local development server