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