This service is used to generate unique beneficiary registration Id for new beneficiaries.
This microservice is built on Java, Spring boot framework and MySQL DB.
- JDK 1.8
- Maven
- Wildfly (or any compatible app server)
- Redis
- MySQL Database
Please follow these steps:
- Clone the repository to your local machine.
- Install the dependencies and build the module:
- Run the command
mvn clean install
.
- Run the command
- You can copy
bengen_example.properties
tobengen_local.properties
and edit the file accordingly. The file is undersrc/main/environment
folder. - Run the development server:
- Start the Redis server.
- Run the command
mvn spring-boot:run -DENV_VAR=local
.
- Open your browser and access
http://localhost:8080/swagger-ui.html#!/
to view the Swagger API documentation.
All features have been exposed as REST endpoints. Refer to the SWAGGER API specification for details.