A little simple blog for my python practice.
# setup
$ pip install -r requirements.txt
$ make setupdb
# test
$ pytest tests
# run
$ FLASK_APP=hakoblog/web.py flask run
See hakoblog/web.py please
hakoblog/web.py
Flask app (entry point)hakoblog/config.py
Configuration objecthakoblog/db.py
Database instance wrapperhakoblog/model/*.py
Plain model objects (not related to db directly)hakoblog/loader/*.py
Loder services which fetch model objects from database (aka. repository)hakoblog/actoin/*.py
Action services which affect model objects in database.