https://github.com/samzhangjy/onlinestore
An online store built with Python and Flask
https://github.com/samzhangjy/onlinestore
flask python web
Last synced: about 1 month ago
JSON representation
An online store built with Python and Flask
- Host: GitHub
- URL: https://github.com/samzhangjy/onlinestore
- Owner: samzhangjy
- Created: 2020-03-28T09:44:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:19:45.000Z (over 3 years ago)
- Last Synced: 2025-09-07T20:43:26.195Z (10 months ago)
- Topics: flask, python, web
- Language: Python
- Size: 6.02 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Flask Store
===
This is an online store built with Python and its web framework, Flask.
## Usage
To run this program is quite easy. First, do `pip install -r requirements.txt` to install all packages including Flask,
werkzeug and others.
Then, create a new file called `.env`. It should have content like below:
```text
DATABASE_PASS=
DATABASE_NAME=
FLASK_DEBUG=
ADMIN_USERNAME = admin
ADMIN_PASSWORD = admin
```
Then, create a new file called `sendgrid.txt` and should contain the content below:
```text
apikey
```
DO NOT MODIFY THE FIRST LINE. OTHERWISE IT WON'T WORK.
**Finally**, run `flask db upgrade` and do `flask run` to run the website, or just run app.py in the root dictionary.
## About the advanced features:
Contactus with the email system
ineract with database
size-choose button for each items
implement the encryption with the secret key
hash to deal with pw
use admin account to add product to the database
set the cookie to remember your password