Developer guide - NHA-ABDM/ABDM-wrapper GitHub Wiki

Few commands for developers who want to make changes to wrapper code and test things out.

Build wrapper code:

gradle build

Run wrapper application: Be at the root directory of the repository and run:

gradle bootRun

Run spotless plugin:

gradle spotlessApply

If you want your changes to reflect faster on each run, then instead of docker-compose up, you can do this:

  • Bring mongo container separately by running:
docker run --name mongo -p 27017:27017 -d mongodb/mongodb-community-server:latest
  • And then bring wrapper application up by running gradle bootRun

If you want to connect to database and check its contents, you can make use of this tool MongoDB Compass