Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This guide aims at enabling the readers to create a Birth registration for citizen 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 SCSS/React Storybook.

  • 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:

Build and deploy instructions:

  • No labels