Skip to content

Latest commit

 

History

History

backend-developer-guide

description
DIGIT backend development guide

Backend Developer 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 SetupLearn all about the development pre-requisites, design inputs, and environment setup
Section 1: Create ProjectThe first step is to create and configure a spring boot project
Section 2: Integrate Persister ServiceThe next step is to integrate the Persister service and Kafka to enable read/write from the DB
Section 3: Integrate with other DIGIT servicesSteps on how to integrate with other key DIGIT services
Section 4: Billing & Payment IntegrationLearn how to integrate the billing and payment services to the module
Section 5: Advanced IntegrationsLearn how to integrate advanced services to the built module
Section 6: Run ApplicationTest run the built application in the local environment
Section 7: Build & Deploy InstructionsDeploy and run the modules

Access the sample module here. Download and run this in the local environment.