The Stonks is an investment practice site that was inspired by popular investing site RobinHood. Our site can be viewed here: https://the-stonks-app.herokuapp.com/
-
Clone this repo
https://github.com/MatthewSatt/Stonks_Project_w19.git
-
Install Backend dependencies inside the python-project-starter directory
pipenv install
-
Install Frontend dependencies inside the react-app directory
npm install
-
Create a .env file base on the .env.example given in the root directory BEWARE the API keys needed are from Finnhub-python and Rapid-API
-
Setup your username and database based on what you setup in your .env inside POSTGRES and in your own API keys
-
Migrate and Seed models into the DB
pipenv run flask db upgrade
pipenv run flask seed all
-
You can start the front end from the react-app directory by:
npm start
-
You can start the backend from the python-project-starter by:
pipenv run flask run
-
You can use the Demo user to log in or create an account of your own.
Logged in users can:
- Add/Edit/Delete Thier Watchlists
- Add/ Watchlists
- View the Detail of all stocks within the site
Logged out users can:
- View the Splash page
- get/view created list
- create list
- update created list names and elements
- delete created list or elements
- get/view portfolio
- add/buy stocks in portfolio
- delete/sell stocks in portfolio
- update the company name with an alias name (ie: "Tesla - TSLA" ---> "Elon - TSLA")
- get/view profile page
- get/view stock details
- get specific stock details by searching by company name or ticker