Skip to content

A minimal flask starter with boilerplate code to help speed up developing your flask application

Notifications You must be signed in to change notification settings

Kalebu/Flask-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask-starter is a Minimal starter for your flask project that implement some boiler plate code for you so as you could focus on the core functionality of your project.

Become a patron

Features to Implemented

  • Backend

    • Flask-Blueprint
    • Flask-SQLAlchemy
    • Flask-Migrate
    • Flask-Login
    • Flask-MarshMallow
  • User Interface(UI)

    • Home page
    • Signup page
    • Signin Page
    • Sample CMS Page

How to run

git clone https://github.com/Kalebu/Flask-starter
cd Flask-starter
Flask-starter-> pip install -r requirements.txt
Flask-starter-> python route.py

Migrating database

Once you modified the models codebase to mirror the change to the database without deleting it, use flask migrate, but before we do that we need to tell flask where entry script is located;

For window user do this

set FLASK_APP = route.py
flask db migrate
flask db upgrade

Linux Users do this instead

export FLASK_APP = route.py
flask db migrate
flask db upgrade

Contributions

This is an open source project therefore I welcome all contributors to adding and modifying the starter to make it more friendly and elegant. Just Fork it !!

Credits

All the credits to Kalebu and other future contributors