description |
---|
DIGIT backend development guide |
This guide provides detailed steps for developers to create a new microservice on top of DIGIT. At the end of this guide, you will be able to run the sample module provided (code provided), test it out locally and also deploy it using CI/CD to your DIGIT environment.
Steps to create a microservice:
- Set up your development environment
- Develop the registries, services, and APIs for a voter registration module that were described in the Design Guide
- Integrate with an existing DIGIT environment and re-use a lot of the common services using Kubernetes port forwarding
- Test the new module and debug
- Build and deploy the new service in the DIGIT environment
The guide is divided into multiple sections for ease of use. Click on the section cards below to follow the development steps.
Section 0: System Setup | Learn all about the development pre-requisites, design inputs, and environment setup | |
Section 1: Create Project | The first step is to create and configure a spring boot project | |
Section 2: Integrate Persister Service | The next step is to integrate the Persister service and Kafka to enable read/write from the DB | |
Section 3: Integrate with other DIGIT services | Steps on how to integrate with other key DIGIT services | |
Section 4: Billing & Payment Integration | Learn how to integrate the billing and payment services to the module | |
Section 5: Advanced Integrations | Learn how to integrate advanced services to the built module | |
Section 6: Run Application | Test run the built application in the local environment | |
Section 7: Build & Deploy Instructions | Deploy and run the modules |
Access the sample module here. Download and run this in the local environment.