Ever wanted to see what it would be like to purchase stocks with the power to predict the future? Now you can! The stock portfolio simulator lets you customize a particular date ranging from last week to the past decade. You can look for stocks and purchase them and see how your portfolio grows.
If there are any problem, make sure to check if Heroku is having any issues.
Frontend:
- React
- Redux
Backend:
- Node
- Express
Tools:
- Webpack
- Babel
-
GET /api/stocks :: returns a pre-cached list of stocks from a set date.
-
GET /api/stocks/fetch :: consumes a query string and returns the appropriate amount of stocks depending on the given date ranges.
For Github:
- Clone the repository.
- Make sure you have Webpack installed globally, if not:
npm i -g webpack
- Run npm install.
- Go into client folder
- Run npm install again
- Go back to the root directory
- Run the following npm script:
npm run dev
- Visit localhost:3000