Welcome to the Node.js Blog! This system allows you to manage users, posts, and more with ease.
✅ User authentication and authorization using JWT
✅ CRUD operations for users and posts
✅ Admin dashboard for managing posts
✅ Responsive design for seamless user experience
✅ Search functionality to easily find posts
🔧 Express.js: Fast, unopinionated, minimalist web framework for Node.js
📦 MongoDB: NoSQL database for storing user and post data
🔒 bcrypt: Password hashing for secure user authentication
🔑 jsonwebtoken: JSON Web Token implementation for user authentication
🎨 EJS: Embedded JavaScript templates for rendering views
🔄 Nodemon: Automatically restarts the server during development
🔐 dotenv: Loads environment variables from a .env file
- Clone the repository:
git clone https://github.com/AnasHany219/Node.js-User-Management-System.git - Navigate to the project directory:
cd nodejs-user-management-system - Install dependencies:
npm install - Set up environment variables by creating a
.envfile based on.env.exampleand adding your MongoDB URI and JWT secret. - Start the server:
npm start - Visit
http://localhost:5000in your web browser to access the application.