Skip to content

Nirbyoleek/Twitter-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 Twitter-Clone

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.


🚀 Features

  • 📝 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

🛠️ Tech Stack

  • Frontend: React, Redux, Tailwind CSS, Framer Motion, Material-UI
  • Backend: Node.js, Express, MongoDB, JWT
  • Other: Axios, react-hot-toast, react-loading-skeleton

🖥️ Screenshots

Login Page

Login Page

Home Page

Home Page


🏗️ Local Setup

  1. Clone the repo:
    git clone https://github.com/Nirbyoleek/Twitter-Clone.git
    cd Twitter-Clone
  2. Install dependencies:
    npm install
    cd server && npm install && cd ..
  3. Set up environment variables:
    • Create a .env file in /server with your MongoDB URI and JWT secret:
      MONGO_URL=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret
  4. Run the backend:
    cd server
    npm start
  5. Run the frontend:
    npm start

🌍 Deployment (Render)

  • The app is ready for deployment on Render.
  • Node.js 18+ is required (see package.json engines field).
  • Push your code to GitHub and connect your repo on Render.
  • Set environment variables in the Render dashboard for the backend.

⚙️ Environment Variables

  • MONGO_URL — MongoDB connection string
  • JWT_SECRET — JWT secret key

🙏 Credits


📄 License

This project is for educational purposes. Feel free to fork and build upon it!

About

A Twitter Clone built using the MERN (MongoDB, Express.js, React, Node.js) stack. This web application replicates the core features of Twitter, allowing users to create accounts, post tweets, follow other users, like tweets, and engage in real-time discussions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors