A fully-featured blog application built using the MERN stack, featuring user authentication, blog management, and responsive design.
- User Authentication: Email verification, Google authentication, and JWT-based sessions.
- Profile Management: Users can update their profile with images, username, city, phone number, and email.
- Blog Management: Create, edit, and delete blogs. Search for blogs by name or keywords.
- Comments: Users can comment on and delete comments from blog posts.
- Email Notifications: Sends welcome emails, email verification, and password reset instructions using Mailtrap.
- Responsive Design: Built using Bootstrap 5 for mobile-friendly layouts.
- Frontend: React, Zustand (State Management), React Query (Data Fetching), Bootstrap 5
- Backend: Node.js, Express.js, MongoDB
- Email Service: Mailtrap for transactional emails
- Authentication: JWT, Google Authentication
- Node.js
- MongoDB (local instance or cloud-based)
PORT = 8000
MONGO_URL = <Your MongoDB URI>
JWT_SECRET = "MERN-BLOG"
NODE_ENV = "production"
CLIENT_URL = http://localhost:3000
MAILTRAP_TOKEN = <Your Mailtrap Token>
MAILTRAP_ENDPOINT = send.api.mailtrap.io
npm install - to both server and client dependencies
npm run dev - to Start the Development Server
cd client -> npm start - to start the client react app