KH Media App — Real‑Time Social Platform
KH Media App is a modern, end‑to‑end social media platform engineered for real‑time interaction and scalable community engagement. Built with Next.js, Node.js, and Socket.IO, it focuses on low‑latency communication, robust backend integrity, and a polished user experience — featuring live chat, instant notifications, and media‑enabled posts.
Real-Time Communication (Socket.io)
The platform's real‑time engine, powered bySocket.io. provides instant messaging, live notifications, and accurate user presence tracking. On the backend we use atomic checks and unique constraints to prevent duplicate chat creation, ensuring consistent behavior under concurrent load and reliable message delivery for connected users.
Interactive Screenshots

Home Feed - Posts & Suggestions

Create Post Modal

Messages Page

User Profile

Update Profile

View Comments Modal

Active Users List

Register Page

Verify OTP Page
Main Features
- Real‑time chat and instant notifications (Socket.IO) with optimistic UI updates
- Create, like, and comment on posts with dynamic updates
- Follow/unfollow system to personalize user feeds and recommendations
- Advanced profile management and editing
- Secure authentication and role‑aware access controls (JWT)
- Full‑text search for posts and users with relevance‑based results
Tech Stack
- Frontend:Next.js, React, TypeScript, Tailwind CSS, Redux Toolkit — client‑side rendering with performant routing and state management
- Backend: Node.js, Express, MongoDB (Mongoose), Socket.IO — scalable REST APIs and a resilient real‑time layer
- Other: Infrastructure & Integrations: JWT auth, Multer + Cloudinary for media handling, Mailtrap for email testing, Sonner for in‑app notifications