Lumbra

iOS & Android Fitness App

Lumbra - iOS & Android Fitness App app interface screenshot

Tech Stack

Flutter
React
Supabase
Cloudflare
PostgreSQL
Edge Functions

About the App

Lumbra is a personalized back pain recovery platform that transforms rehabilitation into an intelligent, adaptive experience. The app combines personalized workout programming with comprehensive progress tracking and video streaming to help users overcome back pain through structured exercise routines.

When our client approached us with the vision for Lumbra, they wanted to create more than just another fitness app—they envisioned a comprehensive recovery companion that would adapt to each user’s unique back pain challenges. Understanding the sensitive nature of pain management and the importance of personalized care, we committed to building a platform that would be both medically sound and deeply user-centric.

The Challenge

Creating an effective back pain recovery app required solving several complex problems:

  • Personalization at Scale: Each user’s back pain is unique, requiring individualized workout programs that adapt to their specific conditions and progress
  • Content Management Complexity: Healthcare professionals needed an intuitive way to create and manage exercise libraries, workout programs, and day-wise plans without technical knowledge
  • Engagement & Consistency: Back pain recovery requires sustained commitment—we needed to build features that would motivate users to maintain their daily exercise routines
  • Cross-Platform Delivery: The solution needed to work seamlessly on both iOS and Android while handling media-heavy content efficiently

The Solution

Frontend: Flutter Cross-Platform Application

We built Lumbra using Flutter to deliver a consistent, high-performance experience across iOS and Android:

Personalized Onboarding

  • Interactive questionnaire to assess user’s specific back pain conditions
  • Smart system generates personalized workout programs based on user responses
  • Smooth, intuitive flow that builds user confidence from day one

Gamified Progress System

  • Daily & Weekly Streaks: Visual tracking of consecutive workout days to build habits
  • Freeze Mechanism: Smart auto-freeze feature that protects streaks during legitimate breaks
  • XP Points System: Rewards users with experience points for completing each exercise day
  • Progress Dashboard: Real-time insights into recovery journey and achievements

Native Performance

  • Single Flutter codebase delivering native-feeling experiences on both platforms
  • Smooth animations and transitions that enhance user engagement
  • Optimized media playback for exercise videos and demonstrations

Backend: Robust CMS & Dashboard

We developed a comprehensive ReactJS-based dashboard that empowers content creators and healthcare professionals:

  • Exercise Library Management: Create, edit, and organize exercise content with rich media support
  • Workout Program Builder: Design comprehensive programs tailored to different back pain conditions
  • Day-Wise Plan Creator: Structure detailed daily routines with precise exercise sequencing
  • Content Versioning: Track changes and maintain program consistency

Healthcare Professional Tools

  • Intuitive interface requiring no technical knowledge
  • Bulk operations for efficient content management
  • Preview functionality to test user experience
  • Analytics dashboard to monitor program effectiveness

Backend Infrastructure: Supabase & Cloudflare

Supabase as Core Backend

  • Authentication: Secure user login and account management with built-in OAuth support
  • Database: PostgreSQL-based storage for user profiles, workout data, progress tracking, and content
  • Edge Functions: Serverless functions handling workout generation, video processing, and business logic
  • Cron Jobs: Automated tasks for streak maintenance, notifications, and data cleanup
  • Webhooks: Real-time event processing for user actions and system updates
  • Row Level Security (RLS): Ensures users can only access their own data, maintaining privacy and HIPAA-friendly architecture

Cloudflare Integration

  • R2 Storage: Cost-effective object storage for exercise images, thumbnails, and user-generated content
  • Cloudflare Stream: Optimized video delivery for exercise demonstrations with adaptive bitrate streaming
  • CDN Benefits: Global content delivery ensuring fast load times regardless of user location
  • Bandwidth Efficiency: Reduced costs while maintaining high-quality media delivery

Event-Driven Architecture

The system leverages Supabase’s real-time capabilities to create a responsive, engaging experience:

Key Event Flows

Onboarding Flow

  1. User completes questionnaire
  2. Edge function processes responses
  3. System generates personalized program
  4. Database stores custom workout plan
  5. User dashboard updates instantly

Daily Workout Completion

  1. User completes exercise
  2. Progress tracked and XP points awarded
  3. Streak updated
  4. Edge function checks for milestones
  5. Push notification sent for achievements

Streak Management

  1. Cron job runs daily
  2. Checks user activity
  3. Updates streaks
  4. Applies auto-freeze if needed
  5. Sends reminder notifications to at-risk users

Content Publishing

  1. Admin publishes new exercise
  2. Webhook triggered
  3. Edge function processes content
  4. Media uploaded to R2/Stream
  5. Database updated
  6. Real-time sync to all connected apps

Technical Advantages

Security First

  • Row Level Security ensures complete data isolation between users
  • Secure authentication with encrypted credential storage
  • API endpoints protected through Supabase Edge Functions
  • HIPAA-compliant architecture for handling health data

Scalable Architecture

  • Event-driven design handles growing user base efficiently
  • Cloudflare CDN ensures consistent performance globally
  • Edge functions automatically scale with demand
  • Database optimizations for fast queries even with large datasets

Cost-Efficient Infrastructure

  • Cloudflare R2 provides 90% cost savings compared to traditional storage
  • Serverless functions eliminate idle server costs
  • Efficient video streaming reduces bandwidth expenses
  • Single Flutter codebase minimizes development and maintenance costs

Real-Time Capabilities

  • Instant progress updates across devices
  • Real-time streak tracking
  • Immediate feedback on workout completion
  • Synchronized content updates from CMS to all users

Results & Impact

Lumbra represents a successful fusion of healthcare expertise and modern technology. By combining intelligent personalization, comprehensive content management, video streaming, and engaging gamification, we’ve created an app that not only helps users recover from back pain but motivates them to stay committed to their health journey.

The technical foundation—built on Flutter for the frontend, ReactJS for the dashboard, and Supabase with Cloudflare for the backend—provides the scalability, security, and performance needed to support a growing user base while maintaining the responsive, personalized experience that makes Lumbra effective.

Our client now has a complete ecosystem: a user-facing app that delivers personalized recovery programs, a professional CMS that empowers content creators, and a robust backend infrastructure that ensures security, performance, and scalability—all working together to help people overcome back pain and reclaim their quality of life.


Interested in seeing more Flutter app development projects? Check out Nimbus, an AI-powered study companion app, or Chance, a social media platform for sustainable living.

Screenshots

Lumbra iOS & Android Fitness App mobile app screen 1
Lumbra iOS & Android Fitness App mobile app screen 2
Lumbra iOS & Android Fitness App mobile app screen 3
Lumbra iOS & Android Fitness App mobile app screen 4

More Projects

Have a project
in mind?

Book a call