Apply for teacher training is a service for candidates to submit an application to their chosen teacher training courses.
This prototype is based on the:
- Node.js - version 20.x.x
- Clone this repository to a folder on your computer
- Open Terminal
- In Terminal, change the path to the repository
- Type
npm install
to install the dependencies
- In Terminal, change the path to the repository
- Type
npm start
to install the dependencies and start the application
If you want to skip installing dependencies each time, you can instead type npm run s
.
If you want to also test the email notifications, you can get an API key for GOV.UK Notify and add it to a .env
file after NOTIFYAPIKEY=
.
Start creating an account by following the journey the starts when you click ‘Start now’ on the start page (a mock up of the page seen on GOV.UK).
When you are asked to ‘Check your email’, instead click on the text which includes the email address you entered. This is a hidden link which will take you to the page that is shown once you have authenticated.
You can skip the account creation process by visiting https://apply-beta-prototype.herokuapp.com/application/start.
You can skip completing an application by visiting https://apply-beta-prototype.herokuapp.com/application/12345.
You can skip creating an application for applying again by visiting https://apply-beta-prototype.herokuapp.com/application/12346.
You can view the different application states by visiting https://apply-beta-prototype.herokuapp.com/admin/states
You can follow the referee journey by visiting https://apply-beta-prototype.herokuapp.com/reference.
If you’re using Visual Studio (VS) Code for prototyping, we recommend you install the following extensions:
We also recommend you update your VS Code settings to make sure you’re trimming whitespace: Files: Trim Trailing Whitespace
.