As a digital service being developed in DfE we aim to follow the DfE Technical Guidance.
- development
- test
- production
- DfE GOV.UK Components
- DfE GOV.UK Form Builder
- GOV.UK Frontend
- GOV.UK Accessible autocomplete
- MOJ Frontend
- dxw Mail Notify
If this is your first time running the application, see the
getting started documentation
for instructions.
To start a local server, run script/server
. Once started the application is
available at http://localhost:3000/
.
To run the test suite, run script/test
.
You can optionally use ONLY_LINTING
and ONLY_APP_TESTS
environment variables
to selectively run either linting/formatting/schema tests or application tests
respectively, for example
ONLY_LINTING=1 script/test
By default, linters will cause a test failure if there are formatting problems.
However, you can automatically fix formatting in many cases by using the
AUTO_FIX_FORMATTING
environment variable:
AUTO_FIX_FORMATTING=1 script/test
This can also be combined with the reduced scopes for fast formatting fixes, for example:
AUTO_FIX_FORMATTING=1 ONLY_LINTING=1 script/test
See .env.example
For production environments, additional variables are required
You can find the ADRs for this project in the
doc/decisions
folder.
We use sentry.io to monitor errors and the performance of the application.
We use infrastructure as code (Terraform) to deploy
and manage resources hosting the app. This is stored in the terraform
directory.
Documentation: terraform/README.md