Skip to content

nationalarchives/ds-opening-times-api

Repository files navigation

DS Opening Times API

Quickstart

# Build and start the container
docker compose up -d

Docs

http://localhost:65531/docs

Run tests

docker compose exec dev poetry run python -m pytest

Format and lint code

docker compose exec dev format

Environment variables

In addition to the base Docker image variables, this application has support for:

Variable Purpose Default
CONFIG The configuration to use config.Production
BASE_URI The base URI for the API /api/v1
FORCE_HTTPS Redirect requests to HTTPS as part of the CSP none

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages