This application consists of a python Flask backend and a React + Typescript + Vite front end. Both need to be running for the application to work properly.
Make sure you have Python 3.0 installed on your machine.
Create a virtual environment for Flask
py -3 -m venv .venv
Activate the virtual environment (make sure you are using PowerShell or Command Prompt)
.venv\Scripts\activate
Install dependencies within the activated environment (from the same terminal as the command above)
pip install -r requirements.txt
From inside the shopping-list-web
folder
npm install
From inside the api
folder, in gitbash
source .venv/Scripts/activate && flask run --debug
From inside the shopping-list-web
folder
npm run dev