UpGradAssignment
Product Showing Webpage using FLASK
Assignment:
Product Showing Webpage using FLASK :
Overview
You have to create a Flask based product showing web app where user can see different products and can search products according to the name.
Objectives -
- Create a database in sqlite
- Store dummy details of products and show them on the main page
- Create a working search bar
- Create a user interface
- Mail the details of the product in which the user is interested
DEMO Screnshots
[
]
[
]
[
]
[
]
Demo Video
[
]
(https://youtu.be/ugZ3myVmDAc)
Steps to run locally
Step 1 : create a virtual environment
Step 2 : clone this repo
git clone https://github.com/shubham-chhimpa/UpGradAssignment.gitStep 3 : edit config.py edit the following code according to your gmail username and gmail app password
# change this to your gmail username and password
MAIL_USERNAME='your_gmail',
MAIL_PASSWORD='your_gmail_apps_password_key'
NOTE : The mail function only works when your have done two-step verification to your gmail account and then you can get your app password
Step 4 : go to the terminal and go to /UpGradAssignment/ directory using cd command and then run virtual environment (skip this step if you already in done)
Step 5 : run the following command to install required libs
pip install -r requirements.txt
step 6 : now run app.py that will run your app locally
step 7 : open following url in your browser
http://127.0.0.1:5000/
Log in or sign up for Devpost to join the conversation.