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
@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?