A simple yet powerful full-stack blog application built with the MERN stack (MongoDB, Express.js, React.js, Node.js).
- π User Authentication β Secure registration, login, and logout using JWT
- βοΈ Blog Management β Create, Read, Update, and Delete (CRUD) blog posts
- π¬ Commenting System β Users can leave comments on blog posts
- πΌοΈ Image Upload β Add visuals to blogs with Multer-based file uploads
- π Search Functionality β Search blog posts by title or content
- π Pagination β Load blog entries in smaller, manageable chunks
- π± Responsive Design β Works great on mobile, tablet, and desktop
- π€ AI Blog Generator β Instantly generate blog content with AI
- π Dark & Light Mode β Switch between light and dark themes
- ποΈ Categories β Filter and explore blogs by predefined topics
- π User Dashboard β Manage blogs, and profile in one place
- βοΈ React.js β Build reactive UI
- π§ React Router β Navigation between pages
- π Axios β HTTP requests
- π¨ Tailwind CSS β Styling and responsive design
- π Lucide React β Icon library
- π€ Gemini AI (optional) β AI blog generation
- π₯οΈ Node.js β JavaScript runtime environment
- π Express.js β Server API framework
- π MongoDB β NoSQL database
- π οΈ Mongoose β ODM for MongoDB
- π JWT β Authentication and authorization
- π§ bcryptjs β Password hashing
- πΌοΈ Multer β Image upload middleware
# Backend
cd backend
npm install && npm start
# Frontend
cd frontend
npm install && npm run dev
PORT=8000
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_secret_key
GEMINI_API_KEY= XXXXXXXXXXX
π Contributions are welcome! Fork the repo and submit a pull request.
π Built with β€οΈ by Manu Kumar Pal