Skip to content

hmcts/opal-rm-prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opal RM Prototype

This repository contains a GOV.UK Prototype Kit prototype for an Opal RM case creation journey.

It uses:

What this prototype does

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.

Run the prototype locally

  1. Install dependencies:
npm install
  1. Start the prototype:
npm run dev
  1. Open the local URL shown in the terminal, usually:
http://localhost:3000

Where to make changes

  • 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

Working principles

  • 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.

Useful scripts

  • npm run dev - run the prototype in development mode
  • npm run serve - serve the prototype
  • npm start - start the prototype

Licence

See LICENCE.txt.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors