Skip to content

imwilsonxu/fbone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

62 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

INTRODUCTION

Fbone (Flask bone) is a Flask (Python microframework) template/bootstrap/boilerplate application, with best practices (I hope).

You can use it for

  • learning Flask.
  • kicking off your new project.

COMPONENTS

Frontend

Flask Extensions

Others

  • Modular Applications with Blueprints.
  • Use Sentry for real-time crash reporting.
  • Automated managament via fabric

USAGE

Pre-required Setup:

STRUCTURE

β”œβ”€β”€ CHANGES                     Change logs
β”œβ”€β”€ README.markdown
β”œβ”€β”€ fabfile.py                  Fabric file to automated managament project
β”œβ”€β”€ fbone.conf                  Apache config
β”œβ”€β”€ requirements.txt            3rd libraries
β”œβ”€β”€ tests.py                    Unittests
β”œβ”€β”€ wsgi.py                     Wsgi app
β”œβ”€β”€ fbone
Β Β  β”œβ”€β”€ __init__.py
Β Β  β”œβ”€β”€ app.py                   Main App
Β Β  β”œβ”€β”€ config.py                Develop / Testing configs
Β Β  β”œβ”€β”€ constants.py             Constants
Β Β  β”œβ”€β”€ decorators.py            Customized decorators
Β Β  β”œβ”€β”€ extensions.py            Flask extensions
Β Β  β”œβ”€β”€ filters.py               Flask filters
Β Β  β”œβ”€β”€ utils.py                 Python utils
Β Β  β”œβ”€β”€ frontend                 Frontend blueprint
Β Β  β”‚Β Β  β”œβ”€β”€ __init__.py
Β Β  β”‚Β Β  β”œβ”€β”€ forms.py             Forms used in frontend modular
Β Β  β”‚Β Β  β”œβ”€β”€ views.py             Views used in frontend modular
Β Β  β”œβ”€β”€ user
Β Β  β”œβ”€β”€ api
Β Β  β”œβ”€β”€ static                   Static files
Β Β  β”‚Β Β  β”œβ”€β”€ css
Β Β  β”‚Β Β  β”œβ”€β”€ favicon.png
Β Β  β”‚Β Β  β”œβ”€β”€ humans.txt
Β Β  β”‚Β Β  β”œβ”€β”€ img
Β Β  β”‚Β Β  β”œβ”€β”€ js
Β Β  β”‚Β Β  └── robots.txt
Β Β  └── templates                Jinja2 templates
Β Β   Β Β  β”œβ”€β”€ errors
Β Β   Β Β  β”œβ”€β”€ frontend
Β Β   Β Β  β”œβ”€β”€ index.html
Β Β   Β Β  β”œβ”€β”€ layouts              Jinja2 layouts
Β Β   Β Β  β”‚Β Β  β”œβ”€β”€ base.html
Β Β   Β Β  β”‚Β Β  └── user.html
Β Β   Β Β  β”œβ”€β”€ macros               Jinja2 macros
Β Β   Β Β  β”œβ”€β”€ mails                Mail templates
Β Β   Β Β  └── user

TODO

LICENSE

MIT LICENSE

ACKNOWLEDGEMENTS

Many thanks to Python, Flask and other good stacks.

Bitdeli Badge

About

Fbone (Flask bone) is a Flask (Python microframework) starter/template/bootstrap/boilerplate application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5