Skip to content

rabeeh-dev/user-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Management System 👥

A full-stack user management system built using Node.js, Express.js, and MongoDB with separate User and Admin panels for managing users and application data efficiently.


🚀 Features

👤 User Side

  • User registration & login
  • Secure authentication
  • Profile management
  • Session handling
  • Responsive user interface

🛡️ Admin Side

  • Admin authentication
  • Manage users
  • View user details
  • Block / unblock users
  • Dashboard management

🛠 Tech Stack

Layer Technology
⚙️ Backend Node.js, Express.js
🗄️ Database MongoDB, Mongoose
🎨 Frontend EJS, CSS, JavaScript
🔐 Authentication Express Session / bcrypt
🔧 Tools Git, GitHub, VS Code, Postman

📁 Project Structure

User-Management-System/
│
├── config/
├── controllers/
├── middleware/
├── models/
├── routes/
├── views/
├── public/
├── app.js
└── package.json

⚙️ Installation

Clone the repository:

git clone https://github.com/your-username/user-management-system.git

Go to the project folder:

cd user-management-system

Install dependencies:

npm install

Start the server:

npm run dev

🔐 Environment Variables

Create a .env file in the root directory:

PORT=3000
MONGO_URI=your_mongodb_connection
SESSION_SECRET=your_secret_key

📖 How To Use

👤 User Panel

  • Register a new account
  • Login securely
  • Manage profile information

🛡️ Admin Panel

  • Login as admin
  • View all users
  • Manage user access
  • Monitor application users

🎯 Purpose

This project was built to practice backend architecture, authentication systems, MongoDB integration, and admin-user role management using Node.js and Express.js.


⚡ Future Improvements

  • JWT Authentication
  • Role-based access control
  • User analytics dashboard
  • Search & filtering
  • Profile image upload
  • REST API integration

👨‍💻 Author

Rabeeh

MERN Stack Developer

About

this is a user management system using node (express) mongo db it will have a user side and also a admin side

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors