A modern, full-stack Twitter clone built with React, Redux, Node.js, Express, and MongoDB. Experience real-time tweeting, authentication, profile management, and a beautiful, responsive UI inspired by Twitter.
- 📝 Sign Up & Sign In (Gmail only, with validation)
- 🔒 JWT Authentication
- 🐦 Tweet, Like, and Explore
- 🏠 Personalized Home Feed
- 🔍 Trending Topics & Explore Page
- 👤 User Profiles & Follow System
- 🌙 Dark Mode (manual or system-based)
- ⚡ Skeleton Loaders & Animations
- 📱 Responsive Design
- ☁️ Deployed on Render
- Frontend: React, Redux, Tailwind CSS, Framer Motion, Material-UI
- Backend: Node.js, Express, MongoDB, JWT
- Other: Axios, react-hot-toast, react-loading-skeleton
- Clone the repo:
git clone https://github.com/Nirbyoleek/Twitter-Clone.git cd Twitter-Clone - Install dependencies:
npm install cd server && npm install && cd ..
- Set up environment variables:
- Create a
.envfile in/serverwith your MongoDB URI and JWT secret:MONGO_URL=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
- Create a
- Run the backend:
cd server npm start - Run the frontend:
npm start
- The app is ready for deployment on Render.
- Node.js 18+ is required (see
package.jsonengines field). - Push your code to GitHub and connect your repo on Render.
- Set environment variables in the Render dashboard for the backend.
MONGO_URL— MongoDB connection stringJWT_SECRET— JWT secret key
- Inspired by Twitter
- UI: Tailwind CSS, Material-UI, Framer Motion
- Backend: Express, MongoDB
This project is for educational purposes. Feel free to fork and build upon it!

