A Node.js web application project with a user management system using Express and MongoDB.
Live demo : user-management.
Hosted on render.com
- 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 ??)
- 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
- User authentication implemented using Passport.js local strategy.
- Proper session control for users and admins.
To get the project running on your local machine for development and testing purposes, please follow the instructions below.
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.
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
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.
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.
- Node.js - The JavaScript runtime
- Express - The web application framework
- MongoDB - The database
- Passport.js - Authentication middleware for Node.js
- Pranav K - Initial work - Pranavk-Official