Thiago-AS/node-trade-wallet

★ 0Forks 0JavaScriptGitHub ↗Compare

README

Node-trade-wallet

A back-end to serve a financial service using a third party api by Finhub.


Requirements

  • For development, you will only need Node.js, Yarn, MongoDb and a API Token to access Finhub financial api, installed in your environement.

Node

Mongo

Yarn

Finhub


Install

$ git clone https://github.com/Thiago-AS/node-trade-wallet.git
$ cd node-trade-wallet
$ yarn

Configure app

  • Set you finhub token as a environment variable:
FINHUB_TOKEN=YOUR_TOKEN
  • You can change both the server port as the database using the following environment variables:
MONGODB_URI=DB_URI
PORT=SERVER_PORT

Running the project

  • To run in development environment with hot reload use:
$ yarn run dev
  • To run in development environment use:
$ yarn run prod

Contributors

Thiago-ASdependabot[bot]

Issues