/Stock-Checker

API service for checking NASDAQ stock prices.

Primary LanguageJavaScriptMIT LicenseMIT

Welcome to Stock-Checker 👋

Version Documentation Maintenance License: MIT

API service for checking NASDAQ stock prices.

Install

npm install

Usage

npm start

Usage examples:

Retrieve stock price:

GET /api/stock-prices?stock=GOOG

Retrieve up to 2 stock prices:

GET /api/stock-prices?stock=GOOG&stock=MFST

Like a stock:

GET /api/stock-prices?stock=GOOG&like=true

Return example:

Query one stock price:

{"stockData": {"stock": "GOOG", "price": 2448.89, "likes": 9}}  

Query two stock prices:

{"stockData": [{"stock": "GOOG", "price": 2448.89, "likes": 9}, {"stock": "MFST", "price": 271.89, "likes": 5}]}

Run tests

npm run test

Author

👤 RasbeeTech

  • Website: linkedin.com/in/mykalbailey/
  • Github: @RasbeeTech

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 RasbeeTech.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator