Introduces a flask web app that can be run in development mode (using the flask devserver) or in production mode using uWSGI.
Allows configuration of the application using configuration files in yaml format (this was chosen over arguments as I could not find a way to pass arguments to the WSGI application).
Introduces a generic database interface used by both the postgres and Cassandra implementations.
The person implementing the microservice likely only needs to touch routes.py and the files in database/.
I've documented the files so please look through them. I tried to think of all our use cases so I think the implementation is quite complete.
Adds a template module.
Please look at the template module README for instructions.
routes.py
and the files indatabase/
.I've documented the files so please look through them. I tried to think of all our use cases so I think the implementation is quite complete.