This project is a web application for managing Classroom instruction and operations. It is built using Flask, SQLAlchemy, and other requirements.txt dependencies.
This pull request includes the code to creating tables and table relations. It also contains some db changes code which is used to create a "test" api endpoint . To test it, first you would need to bulk update the stock table by using the data in the csv file: stocks_table_exp.csv. Then the first thing to run is _initilize_user to create a new user in the StockUser table. A possible post request of postman:{"uid":"niko","quantity":10,"symbol": "AAPL"}. All db change are found in the mostly model/stocks.py and one function in model/user.py file
This pull request includes the code to creating tables and table relations. It also contains some db changes code which is used to create a "test" api endpoint . To test it, first you would need to bulk update the stock table by using the data in the csv file: stocks_table_exp.csv. Then the first thing to run is _initilize_user to create a new user in the StockUser table. A possible post request of postman:{"uid":"niko","quantity":10,"symbol": "AAPL"}. All db change are found in the mostly model/stocks.py and one function in model/user.py file
bulk insert in stocks table
run first