1 min readMohammad Shaker

[Bosanski] How We Built a Multi-App Platform From a Single Codebase

[Prijevod] Alphazed operates 7+ educational apps (Amal, Thurayya, Qais, KidElite, Alphazed School) from a single backend codebase and shared Flutter mobile frame...

Engineering

Brzi odgovor

[Prijevod] Alphazed operates 7+ educational apps (Amal, Thurayya, Qais, KidElite, Alphazed School) from a single backend codebase and shared Flutter mobile frame...

# How We Built a Multi-App Platform From a Single Codebase [Bosnian content] ## How We Built a Multi-App Platform From a Single Codebase Alphazed operates 7+ educational apps (Amal, Thurayya, Qais, KidElite, Alphazed School, Alphazed Montessori, and more) from a single backend codebase and a shared Flutter mobile framework. Each app gets its own database tables (prefixed), configuration, push notifications, email templates, and content — but shares authentication (AWS Cognito), analytics infrastructure, and core learning algorithms. ### Backend: Runtime App Selection **How It Works** At deployment, an environment variable selects the app: ```bash # Deploy Amal export APP_NAME=amal serverless deploy # Deploy Thurayya export APP_NAME=thurayya serverless deploy # Deploy Qais export APP_NAME=qais serverless deploy ``` Each deployment creates independent Lambda functions, API Gateway routes, and monitoring—but they all connect to the same backend codebase. **Three-Tier Config Priority** ```python # src/config.py import os app_name = os.getenv('APP_NAME',

Povezani članci