Skip to content

Backend API to serve SHA service disruptions in an easy to consume API

License

Notifications You must be signed in to change notification settings

joelghill/sha-disruptions-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saskatchewan Health Authority Service Disruptions API

Backend API to serve SHA service disruptions in an easy to consume API.

Service disruptions sourced from the SK Health Authority Website

Dependencies

  • 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.

Quick Start

pipenv install
export FLASK_APP=flaskr
export FLASK_ENV=development
flask run

Production Run Command

gunicorn wsgi:app

Environment

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

About

Backend API to serve SHA service disruptions in an easy to consume API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages