Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.42 KB

File metadata and controls

50 lines (33 loc) · 1.42 KB

hmpps-assess-risks-and-needs-oastub-ui

repo standards badge

HMPPS Assess Risks and Needs (ARNS) OAStub is a small UI webservice that provides staff within the ARNS space to simulate the outcome of an OASys journey and begin the flow through the HMPPS ARNS Handover Service into one of the ARNS space applications (HMPPS Sentence Plan, HMPPS Strength Based Needs Assessment etc.)

Instructions

Running the app

The easiest way to run the app is to use docker compose to create the service and all dependencies.

make up

The app is available on http://localhost:7072

Dependencies

The app requires:

  • hmpps-auth - for authentication
  • redis - session store and token caching

Running the app for development

make dev-up

Run linter

make lint

Run tests

make test

Running integration tests

Start the app with make up or make dev-up.

Start either SAN or SP so that OAStub has something to redirect to.

Then run the integration tests:

make e2e