This repository contains a GOV.UK Prototype Kit prototype for an Opal RM case creation journey.
It uses:
The prototype demonstrates a multi-page flow for creating and reviewing a case, including:
- case type selection
- applicant and respondent details
- order and application details
- hearing details
- review and submission pages
Prototype data is stored in the session only. There is no database or persistent backend.
- Install dependencies:
npm install- Start the prototype:
npm run dev- Open the local URL shown in the terminal, usually:
http://localhost:3000
- Views:
app/views/ - Routes and journey logic:
app/routes.js - Default session data:
app/data/session-data-defaults.js - Filters:
app/filters.js - Front-end JavaScript:
app/assets/javascripts/application.js - Styles:
app/assets/sass/application.scss
- Prefer GOV.UK Design System, GOV.UK Prototype Components, and MOJ Design System components.
- Use Nunjucks macros instead of handwritten component markup where possible.
- Check GOV.UK Prototype Components before creating custom prototype-only UI patterns.
- Keep changes lightweight and easy to iterate on.
- Treat this as a prototype, not a production service.
npm run dev- run the prototype in development modenpm run serve- serve the prototypenpm start- start the prototype
See LICENCE.txt.