Backend

By Amara Datta Dola and Claude

Backend architecture, one topic per page.

Pages

OverviewHow the Dattavani backend is built System overviewServices and how they connect core-service module mapRouters, services and their dependencies Request pipelineOne request end to end: GET /api/kids/home-stats Auth and identityParent sign-in, PIN and kid session Ask Tataji chatChat flow and RAG calls Live video and voiceAvatar and voice sessions Learning contentBooks, chapters and quizzes GamificationXP, levels, streaks and badges Access and limitsTrials, subscriptions and daily usage limits Notifications and emailPush and email delivery Background jobsCron jobs and scheduled work Data model: family and progressERD for parents, kids and progress Data model: content and AIERD for content and AI tables Admin consoleAdmin app and what it can change DeploymentInfrastructure and release pipeline