A simple MicroBlog platform built with the MERN stack for sharing posts and engaging with the community.
- User authentication (Register/Login)
- Create and view posts
- Comment on posts
- Analytics dashboard
- Responsive design
- Frontend: React + Tailwind CSS
- Backend: Node.js + Express
- Database: MongoDB
- Auth: JWT
- Node.js installed
- MongoDB Atlas account
1. Clone the repo
git clone <your-repo-link>
cd microblog-mern2. Install dependencies
# Backend
cd microblog-backend
npm install
# Frontend
cd ../microblog-frontend
npm install3. Environment variables
Create .env in microblog-backend/:
PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
4. Run the app
# Backend (terminal 1)
cd microblog-backend
npm run dev
# Frontend (terminal 2)
cd microblog-frontend
npm run dev- Configure MongoDB Atlas IP whitelist for your network
- Keep
.envfile private
MIT License - Free to use for learning purposes.
If you found this project helpful, consider giving it a ⭐!





