Skip to content

Latest commit

 

History

2,067 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Clone

License
🚀 Live Demo: https://facebookclone-production-8185.up.railway.app

A full-stack social media web app inspired by Facebook, built with Next.js, React, Express.js, MongoDB and TypeScript.
It features real-time chat, posts, reactions, comments, and notifications — all in a modern responsive UI.


🧩 Features

  • 🔐 Login / Register with JWT authentication (secure cookies)
  • 👥 Add / remove friends
  • 📝 Create posts with images
  • 👍 React to posts (like, funny, angry, dislike etc...)
  • 💬 Comment on posts and reply infinitely
  • ❤️ Like / dislike comments
  • ✏️ Edit or delete your posts and comments
  • 🔔 Real-time Notifications for post interactions and comments
  • 💬 Real-time chat between users using WebSockets (Socket.io)
  • 🟢 User presence tracking (last seen, online status) with Redis cache

🛠️ Tech Stack

Frontend

  • Next.js (React)
  • Typescript
  • Material UI
  • Firebase Storage for images
  • Emoji Mart for emojis

Backend

  • Express.js with TypeScript
  • MongoDB + Mongoose
  • JWT Authentication (HTTP-only cookies)
  • Redis for user presence (last seen, is active)
  • Socket.IO for real-time communication

🌐 Deployment

Hosted on Railway
🔗 https://facebookclone-production-8185.up.railway.app


👤 Author

Tamás Nagy
🌍 Portfolio
💻 GitHub
💼 LinkedIn

About

Social media app with real-time chat and notifications with WebSockets (Socket.io)

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages