Local Setup

DIGIT UI – CCRS (Citizen Complaint Resolution System)

Overview

A React App built on top of DIGIT UI Core β€” India’s largest governance platform. The CCRS UI lets citizens raise complaints and employees manage them. It uses the Workbench module to manage Master Data (MDMS V2) and Localisation data.


πŸ“‚ Project Structure (Simplified)

graphqlCopyEditCitizen-Complaint-Resolution-System/
└── frontend/
    └── micro-ui/
        └── web/
            └── micro-ui-internals/
                β”œβ”€β”€ example/
                β”œβ”€β”€ node_modules/
                β”œβ”€β”€ packages/
                β”‚   β”œβ”€β”€ css/        # Tailwind CSS config & styles
                β”‚   β”œβ”€β”€ modules/
                β”‚   β”‚   β”œβ”€β”€ pgr/    # Public Grievance Redressal module (PGR forms/UI)

πŸ›  Tech Stack

  • React (UI framework)

  • React Hook Form (form handling)

  • React Query (API data fetching)

  • Tailwind CSS (styling)

  • Webpack (bundler)


πŸ”— External Dependencies

Package
Source Repo
Branch

@egovernments/digit-ui-libraries

digit-ui-libraries

develop

@egovernments/digit-ui-module-core

digit-frontend

develop

@egovernments/digit-ui-react-components

digit-frontend

develop

@egovernments/digit-ui-svg-components

digit-frontend

develop

@egovernments/digit-ui-module-utilities

digit-frontend

develop

@egovernments/digit-ui-components

digit-ui-libraries

develop


πŸš€ Run Locally – Step-by-Step

Pre-requisites

  • Node.js v14.18 (Use nvm to manage versions)

  • Yarn (preferred over npm)

Install Yarn if not available:

Set Node version:


Steps

1. Clone the Repository


2. Navigate to Project Directory


3. Install Dependencies


4. Configure Environment Variables

Create .env inside:

Required Variables:


5. Start the Development Server

Access the app in your browser (usually http://localhost:3000).


πŸ“„ License

Licensed under MIT License – free to use, modify, and distribute.


Last updated

Was this helpful?