Skip to content

This simple Flask demo uses SQLite3 and Flask-SQLAlchemy-lite for database management. Manual pagination is implemented as this feature is not supported in the lite version.

Notifications You must be signed in to change notification settings

mayaname/flask-SQLA-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask SQLAlchemy-lite

This simple Flask demo uses SQLite3 and Flask-SQLAlchemy-lite for database management. Manual pagination is implemented as this feature is not supported in the lite version.

Setup

Create Virtual Environment

 python3 -m venv venv

Install Dependence

 pip install -r requirements.txt 

Create database

from app import create_app, db
from app.models import Model, User, Holding
app = create_app()
with app.app_context():
    Model.metadata.create_all(bind=db.engine)

About

This simple Flask demo uses SQLite3 and Flask-SQLAlchemy-lite for database management. Manual pagination is implemented as this feature is not supported in the lite version.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors