Skip to content

ministryofjustice/hmpps-one-plan-api

hmpps-one-plan-api

repo standards badge CircleCI Docker Repository on Quay API docs

About

One Plan stores a person's Plan and Objective data

Running locally

Using the dev environement for auth

  • Start the database with docker compose -f docker-compose-local.yml up -d db
  • start with gradle bootrun (it will automatically use the local profile)

Running With Local auth

We can run hmpps-auth in a local container for fully isolated testing

  • Start the databases and hmpss-auth with docker compose -f docker-compose-local.yml up -d

  • To create one plan specific user/roles in the local auth db run

./.run/setup-user-role.sh
  • start the app with the local-auth profile active

gradle bootrun -Pprofiles=local,local-auth

pre-commit

To save you from the linter failing your build due to formatting, you can enable pre commit git hooks

  • brew install pre-commit
  • pre-commit install

See .pre-commit-config.yaml for more information about what will run

About

HMPPS One Plan Manager API

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 7