acteng / update-your-capital-schemes

Update your capital schemes service.
https://update-your-capital-schemes.activetravelengland.gov.uk/
MIT License
4 stars 0 forks source link

Allow capital schemes data source to be externalised #92

Closed Sparrow0hawk closed 6 months ago

Sparrow0hawk commented 7 months ago

Support two modes of operation:

  1. Self-contained: the app database contains both capital schemes and users, and migrations for both are applied
  2. Externalised: the app database contains just users, and an external data source is configured to fetch and update capital schemes. Migrations will only be applied to the app database.

This will allow the ATE capital schemes database to be used in hosted environments.

Dev and test environments should be configured to both use the ATE capital schemes database test environment. The API should also been disabled for these environments.

markhobson commented 6 months ago

Tasks