Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide aims at enabling the readers to create a Birth registration for citizen and Employee module for the frontend.

Goal:

The goal of this developer guide is to walk through all the steps in building a new frontend citizen module for Birth-Registration.

In this guide, you will learn:

  • How to set up your development environment

  • How to register frontend citizen module.

  • How to integrate with backend service and run it locally.

  • How to build and deploy the new service in your DIGIT environment

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 CD/CI to your dev environment.

Prerequisites:

...

Prior Knowledge of React JS.

...

Prior Knowledge of Redux/Hooks.

...

.

...

Prior knowledge of Git.

Local development setup:

If you are starting off with a fresh Linux/windows machine, we will setup a few things before we can start an application -

i) Install Vs Code -

vs code for windows

vs code for Linux

ii) Install Node JS -

Node Js For Windows

Node Js For Linux

Create:

  • Skeleton code:-

  • Install Dependency:-

  • Import required components:-

  • Add Module Code for Birth-Registration:-

Running the application locally:

Sample screenshots:

...