A new version of the repository is available here PSMRI/Admin-UI
The Admin Module is a collection of tools and scripts that allow users to manage the project. It includes tools for managing users, permissions, and settings.It is the master of all branches. Admin module provides a user-friendly interface for managing your application. It includes features such as:
User management Role management Permission management
This microservice is built on Java, Spring boot framework and MySQL DB.
Prerequisites
- Admin-API module should be running
- JDK 17
- Maven
- Nodejs v16
- Springboot V2
- MySQL
This service has been tested on Wildfly as the application server.
To install the admin module, follow these steps:
Clone the repository to your local machine. Install the dependencies.
- npm install
- npm run build
- mvn clean install
Run the development server.
- npm start
The available profiles include dev, local, test, and ci.
Refer to src/environments/environment.ci.template
file and ensure that the right environment variables are set for the build.
Packing with ci
profile calls build-ci
script in package.json
.
It creates a environment.ci.ts
file with all environment variables used in the generated build.
All the features have been exposed as REST endpoints. Refer to the SWAGGER API specification for details.
The admin module can be used to manage all aspects of your application. To access the admin module, navigate to http://localhost:3000/admin in your browser. You will be prompted to login with a valid user account. Once you have logged in, you will be able to view and manage all of the resources in your application.
To build deployable war files
mvn -B package --file pom.xml -P <profile_name>