A responsive and feature-rich blogging platform built with Node.js, Express, and MongoDB, offering a seamless experience for content creators and readers alike.
## Features- 🔐 User authentication (Sign up, Sign in, Sign out)
- ✍️ Create, edit, and delete blog posts
- 📱 Responsive design for all devices
- 🖼️ Image upload functionality
- 💬 Comments section
- 👤 User profiles
- 🎨 Modern and clean UI
-
Clone the repository
git clone https://github.com/rachidfrex/Blogging-Website.git cd Blogging-Website
-
Install dependencies
npm install
-
MongoDB Configuration
- Create a MongoDB Atlas account or use local MongoDB
- Create a
.env
file in the root directory - Add your MongoDB configuration:
MONGODB_URI=your_mongodb_connection_string PORT=3000 JWT_SECRET=your_jwt_secret
-
Start the server
node src/app.js
Blogging-Website/
├── public/
├── src/
│ ├── app.js
│ ├── routes/
│ │ ├── auth.js
│ │ ├── blog.js
│ │ └── profile.js
│ ├── models/
│ │ ├── profiledb.js
│ │ └── postdb.js
│ ├── middleware/
│ │ └── auth.js
│ └── config/
│ └── db.js
├── projectImage/
├── package.json
└── README.md
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT Authentication
- Express Router
- RESTful APIs
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Screenshots: