Skip to content

yashdodani/stocks-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stocks App

Web-app to view stock prices in real-time.

NOTE

  • The requirements of the project were of 20 stocks, but polygon limits requests to 5 per minute
  • So, at max, 5 stocks can be monitored at once.

Run Locally

Clone the project

  git clone https://github.com/yashdodani/stocks-app.git

Go to the project directory

  cd stocks-app

Install dependencies

  npm install
  • Before starting server, make sure to add environment variables to .env file. Start the server
  npm run start:client
  npm run start:server

Environment Variables

To run this project, you will need to add the following environment variables to your .env file from polygon

API_KEY

Client link

Client is hosted at (if port 5713 is not used)

http://localhost:5173

API Reference

Get stocks

  GET /api/stocks/:n
Parameter Type Description
n number Required. Number of stocks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published