Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Lambda function providing an API for Gjenbruksstasjoner Køtid Frontend, using Flask and Flask-RESTful.

Notifications You must be signed in to change notification settings

oslokommune/gjenbruksstasjoner-kotid-api

Repository files navigation

gjenbruksstasjoner-kotid-api

Lambda function providing an API for gjenbruksstasjoner-kotid-estimering using Flask and Flask-RESTful.

Tests

Tests are run using tox: make test

For tests and linting we use pytest, flake8 and black.

Run

make run to start up Flask app locally. Binds to port 5000 by default. Change port/environment:

export FLASK_ENV=development
export FLASK_RUN_PORT=8080

Deploy

Deploy to dev is automatic via GitHub Actions, while deploy to prod can be triggered with GitHub Actions via dispatch. You can alternatively deploy from local machine (requires saml2aws) with: make deploy or make deploy-prod.

About

Lambda function providing an API for Gjenbruksstasjoner Køtid Frontend, using Flask and Flask-RESTful.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published