Pulse Social
Real-time social media app with posts, likes, comments, notifications, friend system, and live DMs via Supabase Realtime, Google OAuth + email/password auth.
Overview
Pulse Social is a real-time social media application that brings together all the core features of modern social platforms. Users can create rich-text posts, interact through likes and threaded comments, manage friend connections, and communicate through live direct messages. The app leverages Supabase Realtime for instant updates across all connected clients, and supports both Google OAuth and traditional email/password authentication flows.
Key Features
Real-time feed with live updates using Supabase Realtime subscriptions
Threaded comments and nested replies with optimistic rendering
Friend request system with mutual connection management
Live direct messaging with typing indicators and read receipts
Dual authentication: Google OAuth 2.0 + email/password with Supabase Auth
Push notification system for likes, comments, and friend requests
Tech Stack
Challenges & Solutions
Handling real-time data synchronization across multiple clients while preventing race conditions on concurrent interactions — solved with Supabase Realtime channels and row-level security policies
Building an efficient notification system that batches updates and avoids flooding users — implemented with a queue-based approach using database triggers
Managing complex UI state for real-time features (typing indicators, online status) with minimal re-renders — achieved using Zustand's selective subscriptions
Results & Impact
Under 100ms message delivery latency via Supabase Realtime WebSockets
Zero-downtime authentication flow with seamless OAuth + email fallback
Scalable notification system handling 1000+ concurrent subscriptions