Skip to content
Back to Projects
Social App modern social media platform interface

Web Apps

Social App | منصة التواصل الاجتماعي

Modern Real-Time Social Media Platform & Community Hub

React 19TypeScriptTailwind CSS v4TanStack QueryVite 8ZodAxios
React 19 & Vite 8TanStack React Query v5Full JWT Auth & RBAC

Overview

Social App is a modern, high-performance social media platform engineered with React 19, TypeScript 6, Vite 8, Tailwind CSS v4, and TanStack React Query v5. Designed to deliver sub-second interactions and seamless client-side responsiveness across all devices. Key features include: 1. **Authentication & Route Security**: JWT-based authentication flow with user registration, login, and granular route guards (ProtectedRoute & ProtectedRouteAuth). 2. **Dynamic Posts Feed**: Full CRUD operations for user posts with live image upload previews, quick emoji picker, and real-time cache invalidation. 3. **Interactive Comments System**: Nested comment threads, top-comment preview on feed cards, instant creation, and ownership-based edit/delete permissions. 4. **Profile & Avatar Customization**: Dedicated user profile hub, My Posts management tab, and custom avatar selector. 5. **Notifications Center**: Dedicated interaction feed tracking likes, comments, and mentions with unread badges. 6. **Real-Time Offline Detection**: Network state monitoring with an animated banner alerting users to connectivity changes. 7. **Dual-Theme Engine**: Complete Dark and Light mode support with automatic system preference detection and localStorage persistence.

Key Features

01Complete JWT authentication flow with registration, login, and secure route guards
02Interactive posts feed with live image upload previews, emoji picker, and real-time cache sync
03Comprehensive comments system featuring top-comment preview and author-only edit/delete rights
04User profile dashboard with personal posts showcase and custom avatar management
05Live notifications center tracking likes, comments, and unread activity counters
06Dual-theme engine (Dark & Light) and realtime offline network connectivity detection

Built With

React 19
TypeScript
Tailwind CSS v4
TanStack Query
Vite 8
Zod
Axios

Architecture Preview

React 19 & TypeScript 6 Architecture

Built on React 19 paired with strict TypeScript 6 and Vite 8 for instantaneous HMR and optimized production bundles.

TanStack React Query v5 Server State

Optimistic updates, automated background re-fetching, and instant cache invalidation upon post or comment mutation.

Tailwind CSS v4 & Zero-Runtime Theming

Dynamic CSS variable-based theming engine powering smooth, flicker-free dark and light mode transitions.

Zod Schema Validation & Axios Interceptors

Type-safe runtime form validation with React Hook Form, paired with centralized Axios request/response interceptors.

The Challenge

Building a fluid social networking experience requires handling unpredictable server latency, complex CRUD operations across posts and comments, multi-level authentication states, and instant UI feedback without page reloads.

The Approach

I architected the application using React 19 and TanStack React Query v5 to decouple server caching from client state, implemented strict Zod validation for all form submissions, and engineered a dual-theme responsive UI with Tailwind CSS v4.

The Outcome

Delivered a lightning-fast social app with sub-second navigation, zero runtime typing errors, robust offline detection, and seamless multi-device responsiveness.

Gallery

Social App feed and post composer preview
Desktop dark mode feed with interactive post creation and trending topics

More Work Like This

Want results like these for your product?

Let's talk about your project