A modern blogging platform built using Node.js, Express, MongoDB, and React (Vite).
Users can create and manage blogs, follow authors, like posts, and interact through comments — all inside a clean, responsive UI.
- Register, login, logout
- JWT-based authentication
- View and edit profile
- View followers and following
- Create, edit, delete blogs
- Upload images
- Trending & latest blog feed
- Read full blog details
- Like blog posts
- Add comments
- Follow/unfollow authors
- React + Tailwind CSS
- Responsive design
- Smooth navigation
- Node.js
- Express.js
- MongoDB + Mongoose
- JSON Web Token (JWT)
- Bcrypt
- Multer
- React 18
- Vite
- Axios
- React Router
- Tailwind CSS
npm installPORT=3000
MONGO_URI=<your mongodb url>
JWT_SECRET=<your secret>
npm run dev
🔌 API Overview Auth
- POST /login
- POST /register
Blogs
- GET /api/blogs
- GET /api/blogs/:id
- POST /api/blogs/create
Users
- GET /api/user/:id
- POST /api/user/:id/follow