Skip to content

Service that supplies rates conversion for ZelCore coins to other curriences

Notifications You must be signed in to change notification settings

ZelCore-io/rates-api

 
 

Repository files navigation

zelcore-rates-api

A Service that supplies rates and market conversion for ZelCore assets to other currencies

Requirements

Requires node version 10.0 and above

Installation

Install npm dependencies with command:

npm install

Usage

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

docker run -e API_KEY=yourApiKey -p 4444:3333 zelcash/rates-api

Update Documentation

To update typedoc documentation please run.

npx typedoc

Example .env file

# 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

Swagger docs at /docs

About

Service that supplies rates conversion for ZelCore coins to other curriences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.0%
  • Other 1.0%