Skip to content

Dev setup

tarun-palisetty edited this page May 30, 2019 · 2 revisions

How to use the fees register in developer machine?

Please use v2 version of API. Docker image is available for developer machines. Our fees reigster docker compose should help you

its here.

https://github.com/hmcts/ccfr-fees-register-app/blob/ec16f9fb743fb10eec1858c75e988da9084a9e90/docker-compose.yml#L11

if you enable the fees loader then it will load you some basic fees for you as well however it's not guaranteed that it will be same as prod one as fees editor can change the fees as it changes in parliament this one is used to enable fees loader

https://github.com/hmcts/ccfr-fees-register-app/blob/ec16f9fb743fb10eec1858c75e988da9084a9e90/api/src/main/resources/application-local.properties#L2

Setting up fees-register on dev machine

After cloning the fees-register from the git repo.

  1. Use the below gradle command to start the fees-register app.

    ./gradlew bootRun

  2. After the service is up and running swagger documentation can be accessed.

    http://localhost:8080/swagger-ui.html

  3. From the drop-down select 'fees2-register' for accessing the api.

  4. For the usage of the post/put/delete end-points below idam property has to be set.

    auth.idam.client.baseUrl=

Clone this wiki locally