How abdelhafid-cloud/etech-education works
E‑Tech Education is a multi-tenant education platform for Ministry, academy, school, teacher, student, and parent workspaces. A principal workflow is student learning: a student enters the web app, accesses courses and learning activities, and receives personalized content; the Flask API provides student and course services backed by MongoDB. The README also identifies authentication, administration, analytics, AI, and media as product capabilities. Some links are documented or indexed; unsampled frontend-to-API and domain internals are shown as unverified rather than asserted.
Main entry points: super_admin.py Platform administration · app Web workspaces · student.py Student services · auth.py Authentication API
Components 23
Web experience
- Web workspaces
apps/web/src/app - Student learning
apps/web/src/components/student - Admin console
apps/web/src/components/super-admin - Auth screens
apps/web/src/components/auth - Design system
packages/ui/src/components
Education services
- Student services
apps/api/app/modules/student.py - Course catalog
apps/api/app/course_catalog.py - AI learning agent
apps/api/app/course_ai_agent.py - Quizzes and exams
apps/api/app/course_quizzes.py - Course files
apps/api/app/course_files.py - Learning content data
apps/api/app/student_seed.py - Academic levels
apps/api/app/academic_levels.py
Identity and tenancy
- Authentication API
apps/api/app/modules/auth.py - Token sessions
apps/api/app/security/tokens.py - Account activation
apps/api/app/security/activation.py - Workspace management
apps/api/app/modules/workspaces.py - User management
apps/api/app/modules/users.py - Platform administration
apps/api/app/modules/super_admin.py
Data and integrations
- MongoDB access
apps/api/app/extensions.py - Email delivery
apps/api/app/mail.py - Media service
apps/api/app/modules/media.py - National analytics
apps/web/src/app/super-admin/analytics/page.tsx
Other components
- Student
Connections 28
- Student → Web workspaces: uses
README.md - Web workspaces → Student learning: renders
- Web workspaces → Auth screens: renders
- Web workspaces → Admin console: renders
- Student learning → Student services: requests data
- Admin console → Platform administration: requests data
- Auth screens → Authentication API: authenticates
- Web workspaces → Design system: uses
README.md - Student services → Learning content data: loads learning data
- Course catalog → Learning content data: builds catalog from
apps/api/app/course_catalog.py - Course catalog → Academic levels: uses levels
apps/api/app/course_catalog.py - Course catalog → MongoDB access: reads and writes
apps/api/app/course_catalog.py - Learning content data → Academic levels: uses levels
apps/api/app/student_seed.py - Authentication API → Token sessions: issues tokens
apps/api/app/modules/auth.py - Authentication API → Account activation: checks activation
apps/api/app/modules/auth.py - Authentication API → Email delivery: sends email
apps/api/app/modules/auth.py - Token sessions → MongoDB access: stores sessions
apps/api/app/security/tokens.py - Platform administration → Authentication API: requires auth
apps/api/app/modules/super_admin.py - Platform administration → Course catalog: manages courses
apps/api/app/modules/super_admin.py - Platform administration → Course files: uses files
apps/api/app/modules/super_admin.py - Platform administration → Email delivery: sends email
apps/api/app/modules/super_admin.py - Platform administration → MongoDB access: reads and writes
apps/api/app/modules/super_admin.py - Student services → Quizzes and exams: serves activities
- Student services → AI learning agent: supports AI learning
- Student services → Media service: serves media
- Admin console → National analytics: shows analytics
- Workspace management → MongoDB access: manages tenancy
- User management → MongoDB access: manages users