_ _ ______ _ _ ______ _ _ _ _
| | | | | ___|| | | | | ___ \ (_)| | | | | |
_ __ _ _ | |_ | |__ ___ _ __ | |_ | | __ _ ___ | | __| |_/ / ___ _ | | ___ _ __ _ __ | | __ _ | |_ ___
| '_ \ | | | || __|| '_ \ / _ \ | '_ \ | _| | | / _` |/ __|| |/ /| ___ \ / _ \ | || | / _ \| '__|| '_ \ | | / _` || __| / _ \
| |_) || |_| || |_ | | | || (_) || | | || | | || (_| |\__ \| < | |_/ /| (_) || || || __/| | | |_) || || (_| || |_ | __/
| .__/ \__, | \__||_| |_| \___/ |_| |_|\_| |_| \__,_||___/|_|\_\\____/ \___/ |_||_| \___||_| | .__/ |_| \__,_| \__| \___|
| | __/ | | |
|_| |___/ |_|
<img src="https://cloud.githubusercontent.com/assets/5562241/18217809/8aa39796-717c-11e6-9d00-833633995cd7.png" alt="Browser screenshot" height="450", width="400" />
What?
-
Code structure for a normal python flask application
Includes:
- One blueprint route -
/
- Templates
- Model class with mysql python migrate
- One blueprint route -
Setup
cd <pathToFolder>/pythonFlaskBoilerplate
virtualenv venv
pip install -r requirements.lock
python run.py
Useful commands
flask db migrate
flask db upgrade
Refs:
Contact for TODOs, Imporovemtns etc..
- Add a new issue here
- jitendraojha1217@gmail.com