System Design
Anabulku was built as a monorepo containing a NestJS backend API, an Expo/React Native mobile app, and supporting Next.js web surfaces. PostgreSQL stores users, pets, reminders, subscriptions, and health records. The mobile app communicates with the API for authentication, persistence, subscription validation, reminder scheduling, AI context retrieval, and tool execution. For AI workflows, the system retrieves relevant pet-specific data before generating responses, and the tool layer enables action-taking behavior such as creating reminders from chat. A reminder engine uses scheduled jobs and notification logic, with caching and indexing on frequently accessed records.