Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months ago
JSON representation
Check the current stock exchange rate.
- Host: GitHub
- URL: https://github.com/riteshpuvvada/stock-checker
- Owner: RiteshPuvvada
- Created: 2021-07-23T10:29:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-28T12:01:42.000Z (over 1 year ago)
- Last Synced: 2024-10-12T02:42:32.789Z (2 months ago)
- Topics: chai, express, helmetjs, mocha, mongodb, mongoose, nodejs, stock-price-checker
- Language: JavaScript
- Homepage: https://verdant-shorthaired-patch.glitch.me/
- Size: 2.08 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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
```