The backend for an awesome book store app!
pipenv shell
.pipenv install
.python src/server.py
.In production don't use the sanic
server, use something like gunicorn (read this). Use it like so:
$ gunicorn server:app --bind 0.0.0.0:8000 --worker-class sanic.worker.GunicornWorker
To run the linter
$ pycodestyle .
To run the tests
$ python -m unittest