Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 1.07 KB

README.md

File metadata and controls

43 lines (38 loc) · 1.07 KB

Flask - python

This is a repo where i learn flask from scratch and build my own boilerplate code.

Features-

  1. Use of templates - jinja2 syntax to extend from base.html
  2. tests in tests.py to test your flask app. Module used- unittest

File structure-

learn-flask
├─── static/
│    └─── style.css
├─── templates/
│    ├─── base.html
│    └─── index.html
├─── .gitignore
├─── app.py
├─── README.md
├─── requirements.txt
└─── test_client.py
Note - This is for small applications but as you scale up, you'll need something more like:
learn-flask
├─── app/
│   ├─── __init__.py
│   ├─── app.py
│   ├─── templates/
│   │    ├─── base.html
│   │    ├─── index.html
│   └─── static/
│        └─── style.css
├─── tests/
│    ├─── test_client.py
├─── setup.py
├─── README.md
└─── requirements.txt