https://github.com/mubeen-channa/user-management-system
This is a Node.js and Express-based web application for managing users with full CRUD functionality. It uses MySQL for the database, EJS for templating, and Faker.js to generate unique user IDs. The app includes a dashboard, user listing, add/edit/delete forms, and password verification for updates and deletions.
https://github.com/mubeen-channa/user-management-system
admin-dashboard express-app expressjs mubeen-channa nodejs user-management
Last synced: about 1 month ago
JSON representation
This is a Node.js and Express-based web application for managing users with full CRUD functionality. It uses MySQL for the database, EJS for templating, and Faker.js to generate unique user IDs. The app includes a dashboard, user listing, add/edit/delete forms, and password verification for updates and deletions.
- Host: GitHub
- URL: https://github.com/mubeen-channa/user-management-system
- Owner: Mubeen-Channa
- Created: 2025-05-02T05:53:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-19T12:32:20.000Z (12 months ago)
- Last Synced: 2025-09-17T19:39:11.774Z (9 months ago)
- Topics: admin-dashboard, express-app, expressjs, mubeen-channa, nodejs, user-management
- Language: EJS
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Management Dashboard
A simple Node.js and Express.js web application that provides a CRUD interface for managing users stored in a MySQL database. It uses EJS templating for the frontend, Faker.js for generating random IDs, and supports method overrides for handling HTTP verbs like PATCH and DELETE via forms.
## 🛠️ Features
- 🏠 Dashboard showing total number of users
- 👥 View all users
- ➕ Add new user via form
- ✏️ Edit existing user (with password verification)
- ❌ Delete user (with password verification)
- 🗃️ MySQL database integration
- 🎨 EJS-based dynamic views
## ⚙️ Installation
1. **Clone the repository**
```bash
git clone https://github.com/Mubeen-Channa/User-Management-System.git
```
2. Install dependencies
- npm install
3. Set up MySQL database
- Create a MySQL database named info
- Run the following SQL to create the users table:
4. Update MySQL credentials
## 🧰 Dependencies
- Express
- EJS
- MySQL2
- Faker.js
- Method-Override
- UUID
## 🚀 Run the Application
- node app.js
- Visit: http://localhost:3000