paper-trade is an interactive React.js web application that allow users to add/remove stocks to/from a watchlist and view stock prices. It is intended for beginner investors to learn about stocks and track their stock trades.
- Clone the repo into your personal space:
git clone https://github.com/bri-davis/paper-trade.git
cd paper-trade
- Install the following Python packages for backend usage:
pip3 install boto3
pip3 install botocore
pip3 install flask
pip3 install flask-cors
pip3 install yfinance
-
Create an AWS account, then create a DynamoDB table and name it 'paper-trade'.
-
In the src/backend/ folder, create .aws/credentials and enter your AWS ID and Access Key
[default]
aws_access_key_id = ...
aws_secret_access_key = ...
- In the src/backend/ directory, you can run the Python Flask backend using:
flask run
- Install the following Node packages for frontend usage:
npm -i react-bootstrap
npm -i react-router-dom
- In the project directory, you can run the frontend using:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
- React.js - Frontend Development
- Python - Backend Development
- Flask - Python web framework
- AWS DynamoDB - Database
This project is licensed under the MIT License - see the LICENSE.md file for details
- Using IEX Cloud API over yfinance
- Switching current schema to be entirely hosted on AWS using EC2
- More personalized user interaction with email subcription-based lists
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.