Purrfolio is a stock trading website. Purrfolio allows users to buy and sell stocks and to watch stocks. Purrfolio was created by Dylan, Charles, and Emily Check it out here.
- 💰 Features
- 😸 User Stories
- 💸 Schema
- 😻 Installing Locally
- 💸 Create your portfolio
- 💸 Buy and sell stocks
- 💸 Search for stocks and view trend data
- 💸 Create a watchlist to keep an eye on your favorite stocks!
Sign Up
- As a new user, I should be able to sign up for an account with valid information.
Log In
- As an existing user, I should be able to login with my account information.
View Portfolio
- As a user after logging in, I should be able to view my portfolio.
Create Portfolio
- As a user with no funds I should be able to add funds which will create my portfolio.
Update Portfolio
- As a user, I should be able to add funds to my portfolio.
Delete Stock
- As a user with a portfolio that has stocks in it, I should have the option to sell my stocks.
View Stock Details
- As a user, I should be able to access a stock's detail page that shows a graph with the stock's price evaluation over time, the stocks current position and changes.
Purchase Stock
- As a user, I should be able to purchase stocks from the stock's detail page and see if I already own stocks of this company.
Update Amount of Shares Purchased
- As a user, when purchasing stocks I should be able to update the total amount of shares I would like to purchase.
View Watchlists
- As a user, I should be able to view my watchlists.
Add to Watchlist
- As a user, I should be able to add stocks to my watchlist.
Delete From Watchlist
- As a user, I should be able to delete stocks from my watchlist.
Search Stock By Name
- As a user, I should be able to search for stocks by company name.
View Search Results
- As a user, I should be able to view the results of the search and click on the name of the company to see the stock details page.
View Transaction History
- As a user, I should be able to see my transaction history of all stocks bought and sold.
- Clone this repository:
https://github.com/dylan-mcdougall/python-group-project.git
- Install Python dependencies with the command:
pipenv install -r requirements.txt
- Create a .env file in the root directory using the .env.example provided
- Create the database using the commands:
pipenv run flask db upgrade
pipenv run flask seed all
- Change directory to react-app and run
npm install
andnpm start
- Enjoy! ⭐