https://github.com/vinay-patel22/user-management-system-eleorex
Full-Stack User Management System. The application includes user and role management features with role-based access control.
https://github.com/vinay-patel22/user-management-system-eleorex
jwt-authentication mern-jwt mern-user-authentication nodejs-jwt-token role-based-access-control role-based-authorization user-management-system user-management-system-server vinay-patel vinay-patel22 vinay-patel22-portfolio vinaypatel22
Last synced: 8 days ago
JSON representation
Full-Stack User Management System. The application includes user and role management features with role-based access control.
- Host: GitHub
- URL: https://github.com/vinay-patel22/user-management-system-eleorex
- Owner: vinay-patel22
- Created: 2025-01-07T07:17:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-07T11:33:05.000Z (over 1 year ago)
- Last Synced: 2025-10-19T09:41:49.712Z (9 months ago)
- Topics: jwt-authentication, mern-jwt, mern-user-authentication, nodejs-jwt-token, role-based-access-control, role-based-authorization, user-management-system, user-management-system-server, vinay-patel, vinay-patel22, vinay-patel22-portfolio, vinaypatel22
- Language: JavaScript
- Homepage:
- Size: 123 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Management System
This is a Full-Stack User Management System developed as part of a technical evaluation.
The application includes user and role management features with role-based access control.
## Features
- User registration and authentication (JWT)
- Role-based access control
- CRUD operations for users and roles
- Responsive and user-friendly interface
## Technologies Used
- **Frontend:** React.js
- **Backend:** Node.js, Express.js
- **Database:** MongoDB
- **Authentication:** JSON Web Tokens (JWT)
## Prerequisites
Before running the application, ensure you have the following installed:
- Node.js
- MongoDB
- Git
## Setup Instructions
1. **Clone the Repository**
```bash
git clone https://github.com/vinay-patel22/User-Management-System-eLeoRex.git
cd User-Management-System-eLeoRex
```
2. **Install Dependencies**
- Backend:
```bash
npm install
```
- Frontend:
```bash
cd client
npm install
```
3. **Set Up Environment Variables**
- Create a `.env` file in the root directory with the following content:
```env
MONGO=your_mongo_connection_string
JWT_SECRET=your_jwt_secret
```
4. **Run the Application**
- Backend:
```bash
npm run dev
```
- Frontend:
```bash
cd client
npm run dev
```
5. **Assign Admin Role**
- Initially, all users have the "user" role by default.
- To assign the "admin" role, update the user's role manually in the database.