All work
CASE STUDY — 03 · SOCIAL / REAL-TIME

Dil Se Dil Tak

An anonymous social platform with pay-per-second voice calls, free chat, reels, and stories — where any user can activate a call button and earn from conversations.

TECHNOLOGY

Next.js 16React 19Redux ToolkitTailwind CSS 4Socket.IO clientPWAViteReact Router 7TypeScriptAgora SDKExpress 5Socket.IOMongoDBMongooseRedisZodnode-cronAgoraFirebaseCloudinaryOpenAIRazorpay
Dil Se Dil Tak — case study by One9 Tech
Dil Se Dil Tak — screen 2
Dil Se Dil Tak — screen 3
THE BRIEF

Overview.

Dil Se Dil Tak lets people talk, chat, and connect with strangers — anonymously. Every user gets a generated handle and avatar; real names and birth dates are stored privately and never shown.

The core is live one-to-one voice calling billed per second from a prepaid wallet, with free minutes for new users. Around it sits a full social layer: a community feed, short video reels, 24-hour stories, and free text chat.

Any user can pay a one-time activation fee to get a call button. Once approved, others can call them, and they earn per minute minus a platform commission — withdrawable to their bank or UPI. Four apps make it work: the user app, a staff portal for receiving calls, an admin panel, and a real-time backend.

THE BUILD

4 apps, one system.

APP 01

User Web App

Next.js 16 · React 19 · PWA

Feed, reels, stories, chat, live voice calls, and wallet — installable as an app.

APP 02

Staff Portal

React · Vite · Agora

Where approved staff go online, receive calls, chat with users, and withdraw earnings.

APP 03

Admin Panel

React · Vite

Operations, payments, moderation, staff approvals, and platform settings.

APP 04

Real-time Backend

Express 5 · Socket.IO · MongoDB · Redis

REST API, real-time server, per-second billing engine, and scheduled jobs.

THE SYSTEM

Every module, explained.

MODULE 01

Live Voice Calls

Pay-per-second calling with a live cost meter on both sides.

  • Agora voice with ringtone and mic visualizer
  • Live timer showing cost, balance, and free seconds
  • Low-balance warning and automatic hang-up
  • Call recording, ratings, and written reviews
MODULE 02

Social Feed

A community layer that keeps people coming back between calls.

  • Posts with up to four images, likes, and comments
  • Vertical reels player — videos up to 60 seconds
  • 24-hour stories with viewer tracking
  • Public and private posts on every profile
MODULE 03

Chat

Free real-time messaging between users and staff.

  • Inbox with unread counts and typing indicators
  • Image messages
  • Floating chat button across the app
MODULE 04

Wallet & Payments

Prepaid wallet with two ways to recharge.

  • Razorpay checkout with verified webhooks
  • Manual UPI QR flow with admin-verified UTR numbers
  • UPI codes rotate automatically past a collection limit
  • Full transaction history
MODULE 05

Earn Program & Staff Portal

Turns users into earners with a paid, admin-approved activation.

  • Activation flow — payment, review, approval
  • Online / Busy / Offline status and incoming-call screen
  • Earnings dashboard and weekly stats
  • Withdrawals to bank or UPI
MODULE 06

Admin Panel

Complete control over money, people, and content.

  • Live calls with recordings and force-end
  • Staff approvals, per-minute pricing, commissions
  • UPI approvals, withdrawals, and commission reports
  • AI-assisted post moderation and reports queue
  • Platform settings — fees, free minutes, data retention
WHO USES IT

Roles & access.

  • 01User — feed, chat, calls, wallet
  • 02Staff — approved users who receive paid calls
  • 03Admin — full platform control
INTEGRATIONS

Connected services.

Agora

Real-time voice calling

Socket.IO

Live call state, typing, and chat rooms

Razorpay

Wallet recharges and activation fees

Firebase Cloud Messaging

Push notifications for calls and activity

Cloudinary

Images, reels, stories, and call recordings

OpenAI Moderation

Automatic content checks on posts

Google Sign-In

Alternative to phone OTP login

ENGINEERING

Under the hood.

01

Per-second billing engine

Live call state lives in Redis and ticks every second to both sides — cost is computed to the paisa, free minutes are split from paid time, and the wallet is charged once at the end.

02

Self-healing calls

A job sweeps every minute: unanswered calls become missed with a push alert, and calls whose heartbeat stopped are force-ended so no one is billed for a dead line.

03

Money-safe wallet

Every credit and debit runs in a database transaction recording balance before and after; UPI approvals are atomic, and rejected withdrawals refund automatically.

04

Built for scale

Likes counted in Redis, feed and reels pages cached, cache failures handled gracefully — the app keeps working even if Redis goes down.

05

Privacy by default

Anonymous public identities, private fields hidden from every API response, and admin-set retention that cleans up old chats and recordings.

TECHNOLOGY

The stack.

USER APP

Next.js 16React 19Redux ToolkitTailwind CSS 4Socket.IO clientPWA

STAFF & ADMIN

React 19ViteReact Router 7TypeScriptAgora SDK

BACKEND

Express 5TypeScriptSocket.IOMongoDBMongooseRedisZodnode-cron

SERVICES

AgoraFirebaseCloudinaryOpenAIRazorpay
NEXT CASE STUDY — 04

Bagherwal Samaj Sahayata