← ALL WORKCASE 03 / 13

Comments System.

Full-Stack Social Media Dashboard

CLIENTAdManage.ai (Production System)
ROLEFull Stack Developer
TIMELINE2024 - 2025 (Ongoing)
STATUSIn production
Comments System screen
(01)OVERVIEW

A full-stack social media comments management system with real-time webhook processing, AI-powered sentiment analysis, and a high-performance React dashboard handling 10,000+ comments.

A full-stack social media comments management system built for AdManage.ai. The platform combines a high-performance NestJS backend with a feature-rich Next.js 14 frontend, enabling businesses to manage thousands of Facebook and TikTok comments from a unified dashboard.

Backend - Real-Time Processing: NestJS backend receives Facebook webhook events in real-time with sub-200ms response times. Handles comments, replies, edits, deletions, and tracks all reaction types with user attribution. AI-powered sentiment analysis with 1-100 scoring, type classification (Positive, Negative, Neutral, Spam), and theme categorization. Batch processing reduces AI API costs by 80%.

Frontend - High-Performance Dashboard: Next.js 14 App Router with TypeScript strict mode. Virtual scrolling handles 10,000+ comments at 60fps using TanStack Virtual. Dual view modes: virtualized card grid and TanStack Table. Three-layer state management: React Query (server), Zustand (client), nuqs (URL persistence for shareable filters).

AI Integration & Bulk Operations: Claude AI-powered reply generation with customizable prompts. Bulk operations for delete, hide, and AI-reply multiple comments with progress tracking. 6-dimension filtering system with search highlighting. Real-time synchronization via webhooks.

Multi-Platform & Security: Unified interface for Facebook Graph API and TikTok Ads API using adapter pattern. AES-256 token encryption with zero plain-text storage. Automatic ad account discovery with fuzzy name matching algorithm.

(02)INSIDE THE PRODUCT
Comments System screen
Comments System screen
(03)STACK
  • Next.js 14
  • NestJS
  • TypeScript
  • React Query
  • Zustand
  • TanStack Virtual
  • TanStack Table
  • Shadcn/UI
  • PostgreSQL
  • TypeORM
  • Facebook Graph API
  • TikTok Ads API
  • Claude AI
  • Docker
NEXT CASE — 04Luton Airport Transfers