This is a highly configurable python web application boilerplate.
It uses Flask, MongoDB, custom logging and environmental configurations for easy, robust development.
- Search for 'TODO' in the project to fill the configuration.
- python ui/server.py
python-boilerplate/ # root directory
core/ # configurations, models and abstractions.
data/ # MongoDB access layer and a factory
ui/ # Contains a Flask application that uses the db
tests/ # Any tests you want to implement
bll/ # Any custom logic you want to use between the UI and the DATA layers.
The directory core/configurations contains a lot of configurations.
The most important one is env.py,
DEVELOP_MODE will control the selected db and the logging levels.