ChitChat is a full-stack social backend engineered for speed, scale, and real human connection — stories, followers, highlights, and more.
From ephemeral stories to lasting highlights — ChitChat gives every social interaction a robust, scalable backbone.
Create ephemeral 24-hour stories with media, stickers, and mentions. Archive your best moments into permanent, shareable highlights.
S3 Media · Auto-expiryA smooth 3-stage signup flow — OTP via email or SMS, username validation, basic info, then interests and occupation for rich personalisation.
Send, accept, reject, and cancel friend requests. Smart follow-back logic with mutual-friend discovery and Redis-cached connection lists.
Redis Cache · GraphPush notifications for friend requests, story mentions, likes, and highlights — all handled through a clean, event-driven architecture ready for FCM integration.
FCM Ready · Event-drivenUnified CacheService with graceful fallback, key prefixes, and TTL management — friend lists, feeds, and public data served in milliseconds.
Redis · TTLFull admin panel backend — manage users, moderate content, edit interests, occupations, and CMS pages with role-based JWT authentication.
Role Guards · CRUDA smooth, guided flow designed around real users — from first OTP to a fully personalised feed.
Enter email or phone. ChitChat sends a one-time passcode instantly via email (SMTP) or SMS (Twilio).
OTP confirmed, account created. Choose your username — real-time availability check keeps it unique.
Add display name, date of birth, interests, and occupation. The richer your profile, the better your feed.
Follow friends, post stories, add highlights, get mentions, and build your social world — all secured with JWT.
11 focused modules, each owning its routes, schemas, and business logic. Extend any one without touching the others.
Global pipes, filters, interceptors, CORS, versioning. Single entrypoint for all cross-cutting concerns.
/apiFull auth flow, profile management, OTP service, JWT strategy, user search and discovery.
/api/v1/usersCreate, view, like, mention, archive, repost stories. S3 media, temp files, expiry job, rate limiting.
/api/v1/storiesCreate permanent highlights from stories. Reorder, set covers, manage visibility — child of StoriesModule.
/api/v1/stories/hlBilateral friend requests, mutual friends, cached following IDs for real-time feed generation.
/api/v1/followersUnauthenticated CMS pages, occupations, interests, and file uploads — content served at scale.
/api/v1/publicAdmin JWT auth, user moderation, interest/occupation CRUD, CMS page management with role guards.
/api/v1/adminKubernetes-ready liveness and readiness probes. Redis CacheService with graceful degradation.
/healthProduction-grade choices at every layer — from database pooling to S3 media delivery and Redis caching.
ChitChat's modular backend is ready to power your next social app. Clone, configure, and ship.