Skip to content

A simple portfolio site to add transactions and view portfolio built with IEX API

License

Notifications You must be signed in to change notification settings

abodhare/stock-portfolio

Repository files navigation

Stock Portfolio

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.

Demo

Stock Portfolio Demo

This project was bootstrapped with Create React App.

Installation

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

Deployment

You can make any necessary changes and deploy it to your preferred platform by following the guides on Create React App.

Built with

React - for the front end Redux - for managing state across components Bootstrap - for styling and responsive layout

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A simple portfolio site to add transactions and view portfolio built with IEX API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published