Skip to content

fankaisong/flask-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-template

A web template using flask framework

This app demonstrates simple CRUD operations and the purpose of this website is to record grocery price for users to keep track of price changes and comparison

Installation

The app uses Python3 and all packages can be installed using

pip install -r requirements.txt

Setup the database in MYSQL

In config.py file,

  • change SQLALCHEMY_DATABASE_URI="mysql://username:password@server/db" to link to your MYSQL
  • change the secret key SECRET_KEY = "this is the key"
  • Under application directory, run following command to create database
from app import db
db.create_all()

Run app

Python3 app.py

Go to http://0.0.0.0:5000/

Login Page:

Create a user

Upload or search

About

a website for grocery store price comparison using flask framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages