You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An AI-powered maternal health CRM platform designed for Nigerian mothers, connecting them with healthcare providers through intelligent health triage and voice-first interactions.
Nigeria has one of the highest maternal mortality rates globally - 512 deaths per 100,000 live births. Many complications are preventable with early detection, but mothers in underserved communities lack continuous access to healthcare guidance between clinic visits.
Key Challenges
Limited access to healthcare professionals between appointments
Low health literacy among expectant mothers
Delayed recognition of warning signs
Poor communication between mothers and healthcare facilities
Lack of continuous monitoring during pregnancy
Our Solution
Bloom bridges the gap between expecting mothers and healthcare facilities through an AI-powered platform that provides:
OpenAI Whisper + TTS enables accessibility for mothers with limited literacy
Healthcare CRM
Hospitals connect with patients, view Life Passports, and receive AI-filtered health reports
Gamified Engagement
Token rewards for completing health check-ins and educational content
40-Week Education
Daily lessons tailored to each week of pregnancy
Tech Stack
Frontend
Technology
Purpose
React 18
UI Framework
Vite
Build tool & dev server
Tailwind CSS v4
Styling (with @theme blocks)
React Router DOM
Client-side routing
React Query
Server state management
Axios
HTTP client
Lucide React
Icons
React Hot Toast
Notifications
Backend
Technology
Purpose
Django 5.x
Web framework
Django REST Framework
API layer
SQLite
Database
JWT (SimpleJWT)
Authentication
Meta Llama 3.3 70B
AI conversations & triage
OpenAI Whisper
Speech-to-text
OpenAI TTS
Text-to-speech
Together AI
LLM API provider
Deployment
Service
Component
Vercel
Frontend hosting
Azure App Service
Backend hosting
Azure
SQLite database
Features
For Mothers
Voice-Based Onboarding
Speak naturally to set up your profile
AI extracts and saves your health information
No typing required - fully accessible
Daily Pregnancy Program
40 weeks of curated educational content
Lessons tailored to your current gestational week
Wellness tasks and health tips
Video content from trusted sources
AI Health Companion "Bloom"
24/7 conversational health support
Symptom analysis with urgency classification
Context-aware responses based on pregnancy week
Voice input and audio responses
Health Tracking
Daily mood and symptom logging
Kick counter (for 20+ weeks)
Weight and vitals tracking
Appointment management
Life Passport
Comprehensive health timeline
Shareable with healthcare providers
Complete pregnancy history
Token Rewards
Earn tokens for daily lessons (+5)
Earn tokens for health check-ins (+5)
Earn tokens for wellness tasks (+5)
7-day streak bonus (+20)
Convert tokens to Naira (10 tokens = ₦1)
For Healthcare Organizations
Patient Management
Invite mothers to connect via email
View connected patients' health data
Access Life Passports with permission
AI-Powered Reports
Health reports filtered by urgency level
Critical alerts for immediate attention
Automated symptom analysis
Dashboard
Overview of all connected patients
Pregnancy progress tracking
Upcoming appointments
User Flows
Mother Signup Flow
1. Sign Up (email, password, phone)
↓
2. Voice Onboarding
- AI asks about age, blood type, due date
- Collects emergency contact info
- Saves health conditions
↓
3. Add First Child/Pregnancy
- Enter due date or birth date
- Set nickname
↓
4. Dashboard
- Access daily lessons
- Track health
- Chat with Bloom
Healthcare Organization Flow
1. Organization Sign Up
- Register hospital/clinic details
- Verify credentials
↓
2. Invite Patients
- Search by email
- Send connection request
↓
3. Patient Accepts
- Mother receives invitation
- Chooses to share data
↓
4. Access Patient Data
- View Life Passport
- See health reports
- Monitor pregnancy progress
# Navigate to frontendcd frontend
# Install dependencies
npm install
# Start development server
npm run dev
Environment Variables
Backend .env
# DjangoSECRET_KEY=your-django-secret-keyDEBUG=True# AI ServicesTOGETHER_API_KEY=your-together-ai-keyOPENAI_API_KEY=your-openai-key# CORS (for local development)CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173CORS_ALLOW_ALL=True# Database (production)DATABASE_URL=postgres://...# Optional, uses SQLite by default# Payments (optional)ALATPAY_PUBLIC_KEY=your-keyALATPAY_SECRET_KEY=your-keyALATPAY_BUSINESS_ID=your-id# SMS (optional)AFRICASTALKING_USERNAME=your-usernameAFRICASTALKING_API_KEY=your-key
Age, blood type, emergency contact, health conditions
add_child
Add pregnancy/child
Due date, nickname, pregnancy details
chat
General health chat
Symptoms, concerns, questions
birth
Birth registration
Birth date, weight, delivery type
Urgency Classification
The AI classifies health concerns into four levels:
Level
Description
Action
Critical
Life-threatening symptoms
Immediate medical attention
Urgent
Concerning symptoms
See doctor within 24-48 hours
Moderate
Minor concerns
Monitor and follow up
Normal
Expected pregnancy symptoms
Reassurance and education
Voice Flow
User speaks → Frontend records audio (WebM/M4A)
↓
Audio sent to backend (multipart/form-data)
↓
OpenAI Whisper transcribes to text
↓
Llama 3.3 70B generates response
↓
OpenAI TTS converts to speech
↓
Audio URL returned to frontend
↓
Audio plays automatically
Design System
Colors (Tailwind CSS v4)
/* Primary - Pale Pink */--color-primary-500:#E8A0A0;
/* Secondary - Bloom Green */--color-bloom-500:#8BC49E;
/* Background - Cream */--color-cream-100:#FDF8F3;
/* Dark - Text */--color-dark-900:#1A1A2E;
Design Rules
No gradients (solid colors only)
Exception: Image overlays for text readability
Rounded corners: rounded-2xl for cards
Floating pill buttons with backdrop blur
Subtle shadows: shadow-lg shadow-dark-900/5
Testing
Run Backend Tests
cd backend
python manage.py test
Run E2E Test
cd backend
python e2e_test.py
Contributing
Fork the repository
Create your feature branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request
Built With Meta AI
This project uses Meta Llama 3.3 70B Turbo via Together AI for: