The ‘Register of training providers’ is a proof of concept for DfE and, more specifically, Becoming a teacher (BAT) to manage a canonical list of training providers.
This prototype is based on the:
You can read more about this register on the design history website.
- Architecture documentation - Technical architecture, design patterns, and codebase structure
- Deployment guide - Deployment instructions for various platforms and environments
- Node.js - version 22.x.x
- Clone this repository to a folder on your computer
- Open Terminal
- In Terminal, change the path to the repository
- Type
npm installto install the dependencies
- In Terminal, change the path to the repository
- Type
npm run devand start the application
The prototype uses a SQLite database to store data and includes a set of seed data.
The database is built when you run npm install.
You can also regenerate the database:
- In Terminal, change the path to the repository
- Type
npm run db:build:dev
The prototype uses environment variables to help configure the application. These include:
| Variable | Type | Description |
|---|---|---|
ORDNANCE_SURVEY_API_KEY |
string | The API key needed to access the Ordnance Survey Places API |
ORDNANCE_SURVEY_API_SECRET |
string | The API secret needed to access the Ordnance Survey Places API |
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.