Our goal is to create a website that functions as an e-commerce store specifically for clothes. The name of our e-commerce store is Sploosh.
https://clothingshop-psi.vercel.app/
-
Install Python 3.7 or later
-
Open the folder in VSCode
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
Linux
source venv/bin/activate
Windows
.\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the app:
flask --app api/index.py run --debug
Run coverage tests:
pytest --cov=. --cov-report=term-missing
Run unit tests:
pytest -v api/test_index.py