Skip to main content
The Handa Uncle backend powers the consumer mobile app, AI/insights features, and operational tooling. These docs complement the in-repo design notes such as IMPLEMENTATION_SUMMARY.md, APP_LAUNCH_IMPLEMENTATION.md, and MOBILE_API_ENDPOINTS.md.

Platform at a glance

  • Channels/api/v1/* is the authenticated public API, /app/* is the lightweight bootstrap flow for mobile installs, and /api/webhooks/* ingests Langfuse + prompt updates.
  • Core services – Auth (Auth0 adapter, OTP, device binding), AI/RAG (OpenAI/Anthropic orchestration, Pinecone + Supermemory), Profile/Context stores (MongoDB + Redis), and App launch orchestration.
  • Observability – Langfuse traces every AI request, request IDs are added to all responses, and structured logs stream to the terminal + Cloud Logging.

Service map

Codebase guides

Where to go next

Operational checklist

  • Track every request with X-Request-ID and keep a log of failing IDs in incidents.
  • Keep MongoDB and Redis running locally (the app launch path exercises both).
  • For AI regressions, replay the failing Langfuse trace with the same prompt label (LANGFUSE_PROMPT_LABEL) before shipping fixes.
  • Prefer small, incremental doc updates—link to the source files in /src whenever describing behavior.