A full-stack, feature-rich blogging platform with a modern admin dashboard, rich text editing, comment moderation, and secure authentication. Built with React, Node.js, Express, and MongoDB.
- Rich Text Blog Editor:
Create and edit blogs with advanced formatting using Quill. - Image Upload & Optimization:
Upload images with automatic optimization via ImageKit. - Admin Dashboard:
Secure dashboard for managing blogs, comments, and analytics. - Comment Moderation:
Approve or delete comments before they appear publicly. - JWT Authentication:
Secure admin login and protected routes. - Responsive UI:
Mobile-friendly design using Tailwind CSS. - RESTful API:
Clean separation of user and admin endpoints. - Deployment Ready:
Easily deployable on Vercel or any Node.js hosting.
- Frontend: React, Tailwind CSS, Quill, Axios, React Hot Toast
- Backend: Node.js, Express, MongoDB, Mongoose, JWT
- Image Handling: ImageKit
- Deployment: Vercel (Frontend), Any Node.js host (Backend)
git clone https://github.com/yourusername/quickblog.git
cd quickblogcd server
npm installcd ../client
npm installMONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
ADMIN_EMAIL=your_admin_email
ADMIN_PASSWORD=your_admin_password
IMAGEKIT_PUBLIC_KEY=your_imagekit_public_key
IMAGEKIT_PRIVATE_KEY=your_imagekit_private_key
IMAGEKIT_URL_ENDPOINT=your_imagekit_url_endpoint
REACT_APP_API_URL=http://localhost:3000/
cd server
npm run devcd client
npm startGET /api/blog/all— Get all blogsGET /api/blog/:blogId— Get a single blogPOST /api/blog/comments— Get comments for a blogPOST /api/blog/add-comment— Add a comment
POST /api/admin/login— Admin loginGET /api/admin/blogs— Get all blogsGET /api/admin/comments— Get all commentsPOST /api/admin/delete-comment— Delete a commentPOST /api/admin/approve-comment— Approve a commentGET /api/admin/dashboard— Dashboard analytics
- Rich Text Editing:
Seamless blog creation with Quill, supporting images and formatting. - Image Optimization:
Automatic image compression and conversion to modern formats. - Admin-Only Operations:
Secure, role-based access for all admin features. - Real-Time Moderation:
Instantly approve or delete comments with UI feedback. - Production-Ready:
Handles case-sensitive imports for smooth deployment on Linux/Vercel.
This project is licensed under the MIT License.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
For questions or support, contact [email protected]
Happy Blogging! 🚀




