🚀 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.
- 🔐 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
- Next.js (React)
- Typescript
- Material UI
- Firebase Storage for images
- Emoji Mart for emojis
- 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
Hosted on Railway
🔗 https://facebookclone-production-8185.up.railway.app