https://github.com/asheemrahman/user-admin-management
This project is a basic CRUD application where users can sign up, log in, and manage their profiles. Admin users have additional permissions to add, edit, and delete other users.
https://github.com/asheemrahman/user-admin-management
authentication crud-application ejs express javascript middleware mongosee monogdb nodejs
Last synced: 2 months ago
JSON representation
This project is a basic CRUD application where users can sign up, log in, and manage their profiles. Admin users have additional permissions to add, edit, and delete other users.
- Host: GitHub
- URL: https://github.com/asheemrahman/user-admin-management
- Owner: AsheemRahman
- Created: 2024-05-11T18:35:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-11T09:12:09.000Z (over 1 year ago)
- Last Synced: 2025-03-03T01:44:39.853Z (over 1 year ago)
- Topics: authentication, crud-application, ejs, express, javascript, middleware, mongosee, monogdb, nodejs
- Language: EJS
- Homepage:
- Size: 4.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CRUD Application with User Authentication and Admin Management
This project is a basic CRUD application where users can sign up, log in, and manage their profiles. Admin users have additional permissions to add, edit, and delete other users.
## Features
* User Authentication: Users can sign up, log in.
* Admin Management: Admin users can view, add, edit, and delete any user.
* Frontend: Built with HTML and CSS.
* Backend: Powered by Node.js and Express.js.
* Database: MongoDB for data storage.
## Technologies Used
* Frontend: HTML, CSS
* Backend: Node.js, Express.js
* Database: MongoDB (using Mongoose for database modeling)
## Installation and Setup
### Prerequisites
Make sure you have the following installed on your local machine:
* Node.js
* MongoDB
## Steps to Run Locally
1.Clone the repository:
git clone https://github.com/AsheemRahman/User-admin-management.git
2.Navigate into the project directory:
cd User-admin-management
3.Install the dependencies:
npm install
4.Create a .env file in the root directory and add the following environment variables:
PORT = 8080
MONGODB_CONNECTION_STRING='please enter your mongodb connection string'
ADMIN_USERNAME = "admin username"
ADMIN_PASSWORD = "admin password"
5.Start the application:
npm start
6.Open your browser and access the app.
http://localhost:8080/
## Contact
For questions or feedback, feel free to contact me at: Asheem Rahman