Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/horiyorrmi72/super-admin
Utility package for creating a super admin via CLI. The super admin can then set up admin users through an admin interface. This avoids hard-coding admin details and simplifies RBAC setup, letting you focus on other aspects of your project.
https://github.com/horiyorrmi72/super-admin
admin-panel authentication mongoose nodejs-super-admin super-admin super-admin-panel
Last synced: 17 days ago
JSON representation
Utility package for creating a super admin via CLI. The super admin can then set up admin users through an admin interface. This avoids hard-coding admin details and simplifies RBAC setup, letting you focus on other aspects of your project.
- Host: GitHub
- URL: https://github.com/horiyorrmi72/super-admin
- Owner: horiyorrmi72
- Created: 2024-09-09T00:12:16.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T07:24:18.000Z (2 months ago)
- Last Synced: 2024-10-10T14:24:54.951Z (about 1 month ago)
- Topics: admin-panel, authentication, mongoose, nodejs-super-admin, super-admin, super-admin-panel
- Language: JavaScript
- Homepage:
- Size: 175 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Super-admin
## Description
A utility package for creating a super admin via CLI. The super admin can then set up admin users through an admin interface. This approach avoids hard-coding admin details and simplifies RBAC setup, letting you focus on other aspects of your project.
## Features
- Create a super admin using CLI.
- Super admin can create admin users via an admin interface.
- Avoids hard-coding admin details.
- Simplifies Role-Based Access Control (RBAC) setup.## Installation
To install the package:
```
npm i super-admin-panel
```when installation is completed, run the below command from your terminal
```
create-super-admin
```then provide all the necessary details, such as the database connection string, your name and other details.
NB: this currently support mongo database, other database and more features are commig soon.# Cooking the package 🤗# Super-admin
```bash
Dont npm install super-admin yet 🤗
```- local testing of script
![test image](./public/images/image-1.png)- admin login page
![login page](./public/images/image.png)