/ecommerce

[Learning Flask] E-Commerce WebApp. FR & BE: using Flask. Multiple type of user, 2checkout payment system

Primary LanguageJavaScript

E-commerce project on Flask

Create and activate virtual environment:

python3 -m venv venv
venv\Scripts\activate (Windows)
source venv/bin/activate (Linux)

Install dependensies for backend:

pip install -r requirements.txt

Init DB:

flask db init
flask db migrate
flask db upgrade

Run a development server:

flask --debug run

Run a shell in the app context:

flask shell

Show the routes for the app:

flask routes