Backend API to serve SHA service disruptions in an easy to consume API.
Service disruptions sourced from the SK Health Authority Website
- Pipenv: Python Dev Workflow for Humans
- Flasgger: A Flask extension to extract OpenAPI-Specification from all Flask views registered in your API.
- Flask-Caching: An extension to Flask that adds caching support for various backends to any Flask application.
pipenv install
export FLASK_APP=flaskr
export FLASK_ENV=development
flask run
gunicorn wsgi:app
Relies on the following variables existing in the local environment:
SECRET_KEY=secret key for Flask app
Go to http://localhost:5000/apidocs for API documentation