Links

Backend Developer Guide

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 with this guide (code provided), test it out locally and also deploy it using CI CD to your DIGIT environment.
This guide walks you through steps described below:
  • How to set up your development environment
  • How to develop the registries, services, and APIs for a voter registration module that were described in the Design Guide
  • How to integrate with an existing DIGIT environment and re-use a lot of the common services using Kubernetes port forwarding
  • How to test the new module and debug
  • How to 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
Access the sample module here. Download and run this in the local environment.
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.