Skip to content

simonwhatley/register-training-providers-prototype

 
 

Repository files navigation

Register of training providers prototype

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:

Requirements

  • Node.js - version 22.x.x

Installation

  • 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

Working locally

  • In Terminal, change the path to the repository
  • Type npm run dev and start the application

Generating data

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 build-database

Environment variables

The prototype uses environment variables to help configure the application. These include:

Variable Type Description
OS_PLACES_API_KEY string The API key needed to access the Ordnance Survey Places API
GOOGLE_MAPS_API_KEY string The API key needed to access the Google Maps API

Tools

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.

About

Prototype for a ‘Register of training providers’ concept

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.1%
  • Nunjucks 39.2%
  • SCSS 5.7%