Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/riteshpuvvada/stock-checker

Check the current stock exchange rate.
https://github.com/riteshpuvvada/stock-checker

chai express helmetjs mocha mongodb mongoose nodejs stock-price-checker

Last synced: 9 days ago
JSON representation

Check the current stock exchange rate.

Awesome Lists containing this project

README

        


StockPrice


Stock Price Checker 🚀




## Objective

- #### Build a full stack JavaScript app that is functionally similar to this: https://stock-price-checker.freecodecamp.rocks/

# Project Stock Price Checker

- 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`

## Technologies

- Node
- Express
- Helmet
- Mocha-Chai
- MongoDB
- javascript
- Html
- CSS

## Installation:

- clone this repository
```
$ git clone https://github.com/RiteshPuvvada/Stock-Checker.git

$ cd Stock-Checker

$ npm install

$ npm start or npm run dev
```

## Usage:

```
/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
```