This is a simple front-end application to check stocks and their prices. There is functionality to track several stocks together and view the current status of portfolio.
This project was bootstrapped with Create React App.
clone this project into your preferred folder and then run it on a server. should have node
installed.
git clone https://github.com/abodhare/stock-portfolio.git
cd stock-portfolio
npm install
npm install -g serve
serve -s build
In order for the site to work, you must have a valid IEX cloud API token. Include it in you env.local
file in the main directory by adding
REACT_APP_MY_TOKEN=YOUR_TOKEN_HERE
to it.
you can check out the application at localhost:5000
.
OR
You can use the project in the following way:
# Build the image
docker build -t stock-portfolio .
# Run the image
docker run -itdp 8888:3000 -v ${PWD}:/app -v /app/node_modules -e CHOKIDAR_USEPOLLING=true --rm stock-portfolio
OR
You can use docker-compose if you have it:
# Bring up the application
docker-compose up -d
You can make any necessary changes and deploy it to your preferred platform by following the guides on Create React App.
React - for the front end Redux - for managing state across components Bootstrap - for styling and responsive layout
- Akshay Bodhare - abodhare
This project is licensed under the MIT License - see the LICENSE.md file for details