Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.04 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.04 KB

crypto-price

Build Status

You only need to have node.js (>= 8.4.0) installed.

Deploy to heroku

Deploy

There are two env variables expected on your heroku instance:

  • "API_KEY" - for your binance api key
  • "API_SECRET" - for your binance api secret

Installing node.js:

Configure your Binance API access:

Copy the "sample.api.config.json" as "api.config.json". Insert your binance API key and API secret.

{
  "binance": {
    "apiKey": "your_api_key",
    "apiSecret": "your_api_secret"
  }
}

Installing dependencies

$ npm install

Run the server locally

$ npm start

Run the application locally (run in another console instance than server api)

$ npm run client

Open Browser at http://localhost:8080 to see the app in action.