This project aims to enhance the current process of creating and managing sentence plans for individuals on probation or in prison.
- Docker
- Node.js
This service and all of its dependencies are run in Docker containers.
Before starting, run make install-node-modules
.
Note: Every command can be printed using make
Note: Due to requiring authentication through the ARNS Handover Service,
to access the Sentence Plan UI - you can create a handover through the OAStub
hosted at http://localhost:7072 and select Sentence Plan
as the target service.
- To start a production version of the application, run
make up
- The service will start on http://localhost:3000
- To check the health status, go to http://localhost:3000/health
- To update all containers, run
make down update up
- To start a development version of the application, run
make dev-up
- The service will start on http://localhost:3000
- A debugger session will be accessible on http://localhost:9229
- To check the health status, go to http://localhost:3000/health
- The application will live-reload as you make changes to the code.
- Each time you change or update your node dependencies, run
make install-node-modules
to have these reflected in your Docker container.
You can connect to the remote debugger session on http://localhost:9229 like so
The test suite can be ran using make test
Linting can be ran using make lint
and make lint-fix