Skip to content

mosip/admin-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin Portal

admin-ui build upon a push Quality Gate Status

Overview

An admin application is a web-based application used by a privileged group of administrative personnel to manage various master data sets. The various resources that an Admin can manage are:

  • Center (Registration centers)
  • Device
  • Machine
  • Users (Admin, Registration staff)

Along with the resource and data management, the admin can generate master keys, check registration status, retrieve lost RID, and resume processing of paused packets. To start using the Admin portal, an admin user must be assigned to a zone. Refer overview and portal user guide.

This project was generated with Angular CLI version 8.0.3.

Local Setup (for Development or Contribution)

The project can be set up in two ways:

  1. Local Setup (for Development or Contribution)
  2. Local Setup with Docker (Easy Setup for Demos)

Local Setup (for Development or Contribution)

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Local Setup with Docker (Easy Setup for Demos)

Build Docker Images Locally

Recommended for contributors or developers who want to modify or build the services from source.

  1. Clone and build the project:
git clone <repo-url>
cd admin-ui
  1. Navigate to each service directory and build the Docker image:
cd admin-ui/<service-directory>
docker build -t <service-name> .

Running the Services

Start each service using Docker:

docker run -d -p <port>:<port> --name <service-name> <service-name>

Verify Installation

Check that all containers are running:

docker ps

Access the services at http://localhost:<port> using the port mappings listed above.

Deployment

Kubernetes

Pre-requisites

  • Set KUBECONFIG variable to point to existing K8 cluster kubeconfig file:
    • export KUBECONFIG=~/.kube/<my-cluster.config>
      

Install

  $ cd deploy
  $ ./install.sh

Delete

  $ cd deploy
  $ ./delete.sh

Restart

  $ cd deploy
  $ ./restart.sh

Product Documentation

To learn more about admin services from a functional perspective and use case scenarios, refer to our main documentation: Click here.

Contribution & Community

  • To learn how you can contribute code to this application, click here.

  • If you have questions or encounter issues, visit the MOSIP Community for support.

  • For any GitHub issues: Report here

This project was generated with Angular CLI version 8.0.3.

License

This project is licensed under the terms of Mozilla Public License 2.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 111