Check the current stock exchange rate.
Add .env
file to the project
SET NODE_ENV
to test
Set DB to your mongo connection string
Complete the project in routes/api.js
or by creating a handler/controller
You will add any security features to server.js
You will create all of the functional tests in tests/2_functional-tests.js
$ git clone https://github.com/RiteshPuvvada/Stock-Checker.git
$ cd Stock-Checker
$ npm install
$ npm start or npm run dev
/api/stock-prices?stock=goog
/api/stock-prices?stock=goog&like=true
/api/stock-prices?stock=goog&stock=msft
/api/stock-prices?stock=goog&stock=msft&like=true