For Flask:
create a virtual environment:
`python -m venv venv`
Activate the virtual environment:
On Windows: `.\venv\Scripts\activate`
On Unix or MacOS: `source venv/bin/activate`
Install dependencies: `pip install -r requirements.txt`
Run server: `python app.py`
Deactive virtual environment with:
`deactivate`
For node:
`npm install` after cloning this project to install dependencies (run this while inside the frontend folder)
`npm run dev` inside ./frontend to start vite development server
For database things:
`sqlite3` to open sqlite CLI
`.read create_user_managementDB.sql` to generate user data DB
`.read create_productDB.sql` to generate products DB
`python dataInsertionHelper.py` to generate product DB
`python db_populate.py` to fill user DB
Run these inside ./database to generate a dummy users database that you can use for testing
Have two separate terminals running the Flask server and the vite dev server -- they both need to be running in order to interact (VS code can open multiple terminals)
Time format for DB: YYYY:MM:DD HH:SS
Current tasks:
- Further backend robustness
- Filling out user profile options
- Data analytics, reminders, graphs, etc.
- Admin page