controllers folder has product_cartitem_controller file this consists of API endpoints.
models folder has cart_item_model and product_model and the respective queries/ functions/ CRUD operations related code is in these files
Step-1: Creating & activating venv Windows:
python -m venv venv ./venv/Scripts/activate
Step-2: Installing Dependencies
pip install -r requirements.txt
Step-3: Running application Windows:
$env:PYTHONDONTWRITEBYTECODE=1;$env:FLASK_APP="app";$env:FLASK_ENV = "development"
Step-4: Connect MySQL with the code editor and create database=flask_ecommerce and tables= product and cart_item
Step-5:
flask run
Step-6:
open postman application and paste the link with respective endpoints