Skip to content

Live Environments

This page documents the currently deployed YeboLearn platform environments and how to access them.

Development Environment

API

ServiceURLStatus
APIhttps://dev-api.yebolearn.comActive
Health Checkhttps://dev-api.yebolearn.com/healthActive

Frontend Applications

ApplicationURLDescription
Landing Pagehttps://dev.yebolearn.comMarketing & signup
Teacher Dashboardhttps://dev-teacher.yebolearn.comTeacher portal
Parent Dashboardhttps://dev-parent.yebolearn.comParent portal
Student Dashboardhttps://dev-student.yebolearn.comStudent learning
School Adminhttps://dev-admin.yebolearn.comSchool administration
Super Adminhttps://dev-superadmin.yebolearn.comPlatform administration
Yebo Kidshttps://dev-kids.yebolearn.comKids PWA app
Documentation Hubhttps://dev-hub.yebolearn.comThis documentation

Demo Credentials

Demo High School (Botswana - BGCSE Curriculum)

RoleEmailPassword
School Admin[email protected]Admin@123
Teacher[email protected]Teacher@123
Parent[email protected]Parent@123

API Testing

Get JWT Token:

bash
curl -X POST https://dev-api.yebolearn.com/api/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]", "password": "Admin@123"}'

Test with Token:

bash
TOKEN="<your_token>"
curl https://dev-api.yebolearn.com/api/profile \
  -H "Authorization: Bearer $TOKEN"

Public Endpoints:

bash
# Health check
curl https://dev-api.yebolearn.com/health

# Countries list
curl https://dev-api.yebolearn.com/countries

Production Environment

Not Yet Deployed

Production environment will be deployed after dev validation is complete.

Planned URLs

ServiceURL
APIhttps://api.yebolearn.com
Landing Pagehttps://yebolearn.com
Teacher Dashboardhttps://teacher.yebolearn.com
Parent Dashboardhttps://parent.yebolearn.com
Student Dashboardhttps://student.yebolearn.com
School Adminhttps://admin.yebolearn.com
Super Adminhttps://superadmin.yebolearn.com
Yebo Kidshttps://kids.yebolearn.com
Documentation Hubhttps://hub.yebolearn.com

Infrastructure Details

GCP Project

ResourceValue
Project IDyebolearn
Regionus-central1
Cloud SQL Instanceyebolearn-db

Development Resources

ResourceNameSpecs
Cloud Run Serviceyebolearn-api-dev512Mi RAM, 1 CPU
Databaseyebolearn_devPostgreSQL 15
VPC Connectoryebolearn-vpc-dev10.9.0.0/28

Cloudflare

ResourceValue
Domainyebolearn.com
DNS ProviderCloudflare
Frontend HostingCloudflare Pages

CORS Configuration

The API allows requests from these development origins:


Seeded Data

Countries

CodeCountryCurrencyCurriculum
ZASouth AfricaZARCAPS
BWBotswanaBWPBGCSE
SZEswatiniSZLSGCSE
KEKenyaKESCBC
CMCameroonXAFGCE

Demo School

FieldValue
NameDemo High School
CodeDHS001
CountryBotswana (BW)
CurriculumBGCSE
TimezoneAfrica/Gaborone
SubscriptionPremium

Monitoring

Health Checks

bash
# Quick health check
curl -s https://dev-api.yebolearn.com/health | jq .

# Expected response
{
  "success": true,
  "data": {
    "status": "healthy",
    "timestamp": "2025-...",
    "uptime": 1234.56,
    "version": "1.0.0"
  }
}

Logs

View Cloud Run logs:

bash
gcloud run services logs read yebolearn-api-dev \
  --region=us-central1 \
  --project=yebolearn \
  --limit=50

Deployment

Manual API Update

bash
# Update environment variable
gcloud run services update yebolearn-api-dev \
  --region us-central1 \
  --update-env-vars="KEY=VALUE" \
  --project=yebolearn

# Deploy new revision
cd /path/to/yebolearn-api
gcloud run deploy yebolearn-api-dev \
  --source . \
  --region us-central1 \
  --project=yebolearn

Frontend Deployment

Frontends auto-deploy via Cloudflare Pages when pushing to the connected branch.


YeboLearn - Empowering African Education