WACourse is a WhatsApp-native course delivery platform for trainers, coaches, and educators across Africa and emerging markets.
# WACourse π’
### WhatsApp-Scale Course Delivery Platform
**Deliver training to an entire country β one WhatsApp message at a time.**
---
## What Is This?
WACourse is a production-ready platform that lets a single trainer deliver structured, AI-powered courses to **1,000,000+ learners** via WhatsApp β with zero app downloads required.
Built for emerging markets (Nigeria-first), it works on any smartphone, any data plan, and supports English, Pidgin, Hausa, Yoruba, and Igbo.
---
## Architecture at a Glance
```
WhatsApp Cloud API β Nginx β FastAPI β Redis Queue β Celery Workers
β
PostgreSQL (learner state)
β
Claude AI (feedback, FAQ, re-engagement)
β
Paystack/Flutterwave (payments)
β
Cloudflare R2 (media + certificates)
```
---
## Feature List
| Category | Feature |
|---|---|
| **Delivery** | Drip-fed lessons, auto-scheduling, media (image/audio/video/PDF) |
| **Engagement** | MCQ quizzes, AI quiz feedback, re-engagement sequences |
| **AI** | 24/7 FAQ bot, lesson generator, quiz generator, Pidgin translator |
| **Payments** | Paystack (NGN), Flutterwave (Pan-Africa), Stripe (International) |
| **Scale** | 1M+ learners, Redis queuing, batched broadcasts, rate limiting |
| **Certificates** | Auto-generated PDF certificates delivered via WhatsApp |
| **Analytics** | Enrollment trends, drop-off heatmap, quiz accuracy, revenue |
| **Compliance** | NDPR-aligned, opt-in/opt-out, WhatsApp policy compliant |
---
## Project Structure
```
wacourse/
βββ backend/
β βββ app/
β β βββ main.py # FastAPI application entry point
β β βββ config.py # Environment configuration
β β βββ database.py # Async PostgreSQL connection
β β βββ models/ # SQLAlchemy ORM models
β β β βββ __init__.py # All models: Learner, Course, Lesson,
β β β # Enrollment, Payment, LearnerEvent...
β β βββ routers/
β β β βββ webhook.py # WhatsApp message receiver
β β β βββ courses.p β¦