Skip to content

anpa6841/ecommerce-web-app

Repository files navigation

Create virtualenv

  • python3 -m venv myvenv
  • source myvenv/bin/activate

Install Dependencies

  • pip3 install -r requirements.txt

Setup Database

  • export FLASK_APP=app

  • flask shell

  • from app import db

  • from models import User

  • db.create_all()

  • User.query.all() // returns []```

Run App

  • python3 app.py

Run Selenium Tests:

  • pytest -v

To run in development mode:

  • flask run --reload

On user registration, run the following commands to get the otp

  • flask shell

  • from models import User

  • User.query.all()[-1].otp

Web App Screenshots

Login

drawing

Register

drawing

Enter OTP

drawing

Email Confirmed

drawing

Products Dashboard

drawing

Filter Products View By Categories

drawing

Search Products

drawing

View Cart Items

drawing

Checkout

drawing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published