Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anpa6841 committed Jan 3, 2024
1 parent eed0ad8 commit 79df5ae
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ flask shell
from app import db
// Import models
from model.user import User
from models import User
// Create tables
db.create_all()
Expand All @@ -33,9 +33,56 @@ python3 app.py
To run in development mode: flask run --reload
```

## OTP functionality is partially implemented. On user registration, run the following commands to get the otp

```flask shell```

```from models import User```

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


## Setup DB Migration
```
flask db init
flask db migrate -m "Initial Migration"
flask db upgrade
```
```

## Web App Screenshots

# Login

![Login](./screenshots/login.png)

# Register

![Register](./screenshots/register.png)

# Enter OTP

![Enter OTP](./screenshots/enter_otp.png)

# Email Confirmed

![Email Confirmed](./screenshots/email_confirmed.png)

# Products Dashboard

![Products Dashboard](./screenshots/all_products.png)

# Filter Products View By Categories

![Filter Categories](./screenshots/filter_view_by_categories.png)

# Search Products

![Search Products](./screenshots/search_products.png)

# View Cart Items

![View Cart](./screenshots/view_cart.png)

# Checkout

![Checkout](./screenshots/checkout.png)
Binary file added screenshots/all_products.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/email_confirmed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/enter_otp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/filter_view_by_categories.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/register.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/search_products.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/view_cart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 79df5ae

Please sign in to comment.