Testing our sample application

Congratulations for making it through this guide. Once all the dependent services are configured/integrated, it is time to test our completed application!

To run and test our sample application, the following steps need to be followed -

  1. Run kafka, workflow, pdf service locally and the code of DIGIT_DEVELOPER_GUIDE branch (for consistency).

  2. Port-forward the following services -

a. egov-user to port 8284

b. egov-localization to port 8286

c. egov-filestore to 8288

d. egov-mdms to 8082

3. Run voter-registration-service that we just created.

4. Import the postman collection of the API’s that this sample service exposes from here -

a. Hit the _create API request to create a voter registration application.

b. Hit the _search API request to search for the created voter registration applications.

c. Hit _update API request to update your application or transition it further in the workflow by changing the actions.