Skip to content

egovernments/DIGIT-Frontend

Repository files navigation

DIGIT UI

A React App built on top of DIGIT UI Core.

DIGIT

DIGIT eGovernance Platform Services

DIGIT (Digital Infrastructure for Governance, Impact & Transformation) is India's largest platform for governance services. Visit https://core.digit.org/ for more details.

DIGIT platform is microservices based API platform enabling quick rebundling of services as per specific needs. This is a repo that lays down the core platform on top of which other mission services depend.

DIGIT UI

This repository contains source code for web implementation of the new Digit UI modules with dependencies and libraries.

Workbench module is used to Manage the master data (MDMS V2 Service) used across the DIGIT Services / Applications

It is also used to manage the Localisation data present in the system (Localisation service)

Run Locally

Clone the project

  git clone https://github.com/egovernments/DIGIT-Frontend.git

Go to the Sub directory to run UI

    cd into micro-ui/web/micro-ui-internals

Install dependencies

  yarn install

Add .env file

    micro-ui/web/micro-ui-internals/example/.env

Start the server

  yarn start

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

REACT_APP_PROXY_API :: {{server url}}

REACT_APP_GLOBAL :: {{server url}}

REACT_APP_PROXY_ASSETS :: {{server url}}

REACT_APP_USER_TYPE :: {{EMPLOYEE||CITIZEN}}

SKIP_PREFLIGHT_CHECK :: true

sample .env file

Tech Stack

Libraries:

React

React Hook Form

React Query

Tailwind CSS

Webpack

License

MIT

Author

Documentation

Documentation

Support

For support, add the issues in https://github.com/egovernments/DIGIT-core/issues.

Modules

1. Core
2. Workbench
3. HRMS
4. Dashboard
5. Engagement
6. Payment

Starting with Digit-UI App (Impelmentation Teams) - MICRO-UI

Go to the Sub directory to run UI

    cd into micro-ui/web
  yarn install

Add .env file

    micro-ui/web/.env

Start the server

  yarn start

Logo