https://github.com/kalebu/flask-starter
A minimal flask starter with boilerplate code to help speed up developing your flask application
https://github.com/kalebu/flask-starter
flask flask-blueprint flask-boilerplate flask-login flask-migrate flask-sqlalchemy flask-starter python python-tanzania tanzania
Last synced: 7 months ago
JSON representation
A minimal flask starter with boilerplate code to help speed up developing your flask application
- Host: GitHub
- URL: https://github.com/kalebu/flask-starter
- Owner: Kalebu
- Created: 2021-04-14T12:02:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-16T09:27:50.000Z (over 4 years ago)
- Last Synced: 2025-03-15T00:30:24.995Z (7 months ago)
- Topics: flask, flask-blueprint, flask-boilerplate, flask-login, flask-migrate, flask-sqlalchemy, flask-starter, python, python-tanzania, tanzania
- Language: Python
- Homepage: https://kalebujordan.dev/
- Size: 130 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# [Flask-Starter](#)
**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.
[](https://www.patreon.com/kalebujordan)
## Features to Implemented
- Backend
- [x] Flask-Blueprint
- [x] Flask-SQLAlchemy
- [x] Flask-Migrate
- [ ] Flask-Login
- [ ] Flask-MarshMallow- User Interface(UI)
- [ ] Home page
- [ ] Signup page
- [ ] Signin Page
- [ ] Sample CMS Page## How to run
```bash
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
```bash
set FLASK_APP = route.py
flask db migrate
flask db upgrade
```
### Linux Users do this instead```bash
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](https://github.com/kalebu) and other future contributors