Skip to content

A Node.js web application project with a user management system using Express and MongoDB.

Notifications You must be signed in to change notification settings

Pranavk-official/user-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple User Management System

A Node.js web application project with a user management system using Express and MongoDB.

Live demo : user-management.

Hosted on render.com

Features

User Side:

  • Login
  • Register
  • View homepage with User Details
  • Generate Pokemon Cards on Home Page
  • Dragon Repeller Game
  • Edit User Details (except password)
  • Change Password (using otp ??)

Admin Side:

  • Login
  • View User list
  • Search User
  • Add New User
  • Edit User Details (except password)
  • View User Details
  • Delete User
  • View Admin Profile
  • Block/Unblock User

Security:

  • User authentication implemented using Passport.js local strategy.
  • Proper session control for users and admins.

Getting Started

To get the project running on your local machine for development and testing purposes, please follow the instructions below.

Prerequisites

You need to have Node.js, npm, and MongoDB installed on your machine. To install Node.js and npm, visit Node.js. To install MongoDB, follow the instructions on MongoDB.

Installing

Clone the repository to your local machine:

git clone https://github.com/your-username/your-repo-name.git

Navigate to the project directory:

cd your-repo-name

Install the necessary npm packages:

npm install

Configuration

Create a .env file in the root directory and add the following:

MONGODB_URI=`your_mongodb_url`

Replace your_mongodb_url with the connection string of your MongoDB database.

Running the Application

Start the MongoDB server (if not already running):

if your using mongodb in the local

mongod

Run the Node.js application:

npm start

for running in dev mode

npm run dev

The application should now be running on localhost:3000.

Live demo : user-management.

Built With

Authors