- You need an api key for the alphavantage api.
- node.js installed on your machine
- set the following environment variables
In Linux/OSX
export ALPHAVANTAGE_KEY=<your alphavantage key>
export PORT=<port>
export STOCKS_DOMAIN=<ip or valid host>
In Windows
setx ALPHAVANTAGE_KEY=<your alphavantage key>
setx STOCKS_PORT=<port>
setx STOCKS_DOMAIN=<ip or valid host>
- install dependencies
npm install
- Run server
node server.js