Home/Case Studies/Peakmind
CASE STUDYEDTECH · FLUTTER CROSS PLATFORM MENTAL HEALTH APP

Peakmind

A student mental health app with mood tracking, an AI companion, assessments, and live meditation — paired with a counsellor dashboard and white-label institutional integrations.

85Weeks operated
9k+Hours of work
8Engineers

The brief

Accelerate feature velocity on a live mental health app serving students across multiple institutional clients (Allen, JMR), hardening the existing Flutter codebase, instrumenting analytics, building out a counsellor B2B dashboard, and expanding the product with AI-driven mood tracking, assessments, and monetisation capabilities.

What we built

A full-stack mental health platform with a Flutter cross-platform app (iOS, Android, PWA) featuring mood tracking, AI chatbot (Peakoo), assessments with CQ reports, sleep improvement, self-learning courses, challenges, and live meditation via Zoom. A separate Next.js B2B counsellor/supervisor dashboard was built for institutional clients. The backend is a Node.js serverless monorepo on AWS Lambda with Prisma ORM, multi-environment CI/CD, and Postgres. Deep B2B integrations were built for Allen EdTech (white-label Flutter embed with bidirectional JS bridge), JMR, and Zoho session booking. A Razorpay freemium paywall was added late in the engagement. PostHog analytics were instrumented across 100+ events with episode-level tracking across all app surfaces.

⊛ Live in production

Production Flutter app (iOS App Store + Android APK + PWA) with mood tracker, AI chatbot Peakoo, CQ assessments with paid reports, sleep feature, live Zoom meditation, session booking via Zoho, self-learning courses, challenges, and a white-label embed for Allen EdTech. B2B counsellor/supervisor Next.js dashboard live for institutional clients. Razorpay checkout and freemium home screen gating live. 100+ PostHog events with episode tracking across all surfaces.

How it was built, phase by phase.

8 workstreams across 85 weeks of operated delivery

  1. (001)BUILDWeek 1–120

    Cross-Platform Flutter App (Mobile, Web, Webview Embed)

    Core Flutter application serving mobile (Android/iOS), progressive web app, and embedded webview contexts simultaneously, requiring continuous platform-specific adaptations including renderers, routing.

    ✓ Stable cross-platform app with sub-second perceived load improvements via deferred loading, service workers, and CanvasKit pre-loading.

    FlutterDartCanvasKitFirebaseCloudFrontGitHub Actions
  2. (002)INTEGRATEWeek 1–120

    Third-Party Integration Suite (Allen EdTech Embed, JMR Webview, Zoho Booking, Zoom SDK)

    Deep integration with multiple external partners: Allen EdTech embedding the Peakmind Flutter web app inside a native Android/iOS webview with bidirectional JS event channels; JMR webview with PDF.

    ✓ Allen EdTech B2B embed live in production with dark/light theme switching, back navigation events, Zoom live meditation joins.

    FlutterZohoZoom SDKJavaScript PostMessageAWS S3CloudFront
  3. (003)BUILDWeek 1–120

    Mental Health Feature Set (Mood Tracker, Instant Relief, Self-Learning, Challenges, Assessments)

    Core product feature development including mood tracking with sleep/energy dimensions, instant relief (mood minutes), self-learning courses, challenges with leaderboard/alias, and psychometric assessments with reporting.

    ✓ Full mood-to-action funnel live with program recommendations, CQ assessment with v1/v2 report versioning.

    FlutterFirebase Remote ConfigPostHogVimeoPrisma
  4. (004)INTEGRATEWeek 1–120

    PostHog & Backend Analytics Instrumentation

    Comprehensive event tracking instrumentation across all screens and interactions using PostHog (client-side) mirrored to a backend logging API, covering 100+ named events with episode IDs, resource metadata.

    ✓ Full-funnel analytics covering app entry, resource engagement, assessment completion, booking conversion, and session quality.

    PostHogFirebase AnalyticsAWS CloudWatchFlutterJavaScript
  5. (005)DEPLOYWeek 1–100

    Serverless Backend with AWS Lambda, Prisma ORM & CI/CD Pipelines

    Node.js serverless backend on AWS Lambda with Prisma ORM, multi-environment deployments (dev/qa/staging/prod), automated CI/CD via GitHub Actions, database migration management, PgBouncer connection pooling.

    ✓ Multi-environment serverless backend with automated migration hooks, Slack error alerting.

    AWS LambdaPrismaPostgreSQLGitHub ActionsDockerAWS ECS
  6. (006)BUILDWeek 10–120

    AI Chatbot (Peakoo) with Mood-Aware Conversation Design

    Conversational AI chatbot (Peakoo) deeply integrated into the app for mood check-ins, resource recommendations (tools, activities, assessments), speech-to-text input, assessment report delivery.

    ✓ Chatbot live in production with GPT-style animated text, speech input, audio playback, assessment report cards, session booking CTAs.

    FlutterPostHogFirebase Remote ConfigSpeech-to-TextWebSocketMarkdown
  7. (007)BUILDWeek 10–100

    B2B Counsellor/Supervisor Dashboard (Next.js Web App)

    Separate web application for institutional B2B clients providing counsellors and supervisors with student management, session recording, criticality tracking, task management, interaction notes.

    ✓ Production B2B dashboard with student listing/filtering/criticality management, session recording, interaction notes, task management.

    Next.jsReactReduxAnt DesignPrismaZoho
  8. (008)DESIGNWeek 12–120

    UX/Product Design System & Continuous Feature Design

    Continuous product design work including UX research, heuristic evaluations, user interviews, wireframes, hi-fidelity designs, prototypes.

    ✓ Comprehensive design system with brand guidelines, 30+ fully designed feature flows (sleep, journaling, to-do, assessment, chatbot persona.

    FigmaNotionLottiePrototyping tools

Stop renting hours. Start running functions.

Pick the function you want off your plate. We map the brain and name the outcome before you commit.