Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 786 Bytes

File metadata and controls

17 lines (11 loc) · 786 Bytes

hmpps-prisoner-cell-allocation-api

API docs

This service provides:

  • Cell allocation functionality

Starting the service locally

docker-compose up will bring local database up.

Setup environment variables in your IDE following docker-compose.yml SPRING_DATASOURCE_USERNAME=test;SPRING_DATASOURCE_PASSWORD=test;DATABASE_NAME=hmpps-prisoner-cell-allocation-api-db;DATABASE_ENDPOINT=localhost:5431 Run the App.kt main method with dev profile.

Ensure that IntelliJ is configured to run and build the project using gradle rather than it's own build tool.

Linting

to run linting ./gradlew ktlintFormat