Skip to content

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.

Notifications You must be signed in to change notification settings

Mubeen-Channa/User-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

    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

About

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.

Topics

Resources

Stars

Watchers

Forks