How a-blessingtheanalyst/bgap-academy works
BGAP is a multi-role learning and workforce platform: learners practice analytics, receive feedback, build skills and portfolios, while instructors, organisations, HR teams and platform admins manage learning and assessments. The README documents these distinct user-facing capabilities; sampled code confirms selected API, AI, authentication and persistence paths. Source excerpts are partial, so the graph omits unverified links between most product screens and API routes.
Main entry points: (students) Learner portal · branching/route.js Branching scenarios · certpathController.js CertPath controller · challenge-context/route.js Challenge Lab
Components 29
Learner experience
- Learner portal
frontend/app/(students) - Challenge Lab
frontend/app/api/challenge-context/route.js - Analyst workspace
frontend/app/(students)/branching/play - Portfolio builder
frontend/app/(students)/portfolio
Practice and assessment
- Branching scenarios
frontend/app/api/branching/route.js - AI feedback
frontend/app/api/feedback/route.js - Certification prep
backend/src/controllers/certpathController.js - CertPath AI coach
backend/src/controllers/certpathController.js - CertPath practice and exams
frontend/app/api/certpath/practice/route.js
Teaching and administration
- Instructor portal
frontend/app/(teach) - Class Observer
frontend/lib/observerLectureNotes.js - Learning intelligence
frontend/app/api/intelligence/route.js - Company administration
frontend/app/(teams)/company-admin - HR assessments
frontend/app/(hr) - Platform administration
frontend/app/(admin)/admin
Platform services
- Backend API router
backend/src/routes/index.js - CertPath routes
backend/src/routes/certpath.routes.js - CertPath controller
backend/src/controllers/certpathController.js - Backend authentication
backend/src/middleware/auth.js - Groq client
backend/src/config/groqClient.js - Supabase store
backend/src/config/supabase.js - Microsoft curriculum sync
backend/src/services/microsoftSyncService.js - API security utilities
frontend/lib/apiSecurity.js - Market prompt context
frontend/lib/market-context.js - AI usage limits
frontend/lib/aiUsageLimits.js - Plan configuration
frontend/lib/planConfig.js
Other components
- Learners and candidates
- Instructors and admins
- HR teams
Connections 30
- Learners and candidates → Learner portal: use learning tools
README.md - Instructors and admins → Instructor portal: manage learning
README.md - Instructors and admins → Company administration: manage cohorts
README.md - Instructors and admins → Platform administration: administer platform
README.md - HR teams → HR assessments: manage assessments
README.md - Learner portal → Challenge Lab: practice challenges
README.md - Learner portal → Analyst workspace: work on tasks
README.md - Learner portal → Branching scenarios: play scenarios
README.md - Learner portal → AI feedback: get feedback
README.md - Learner portal → Certification prep: prepare certifications
README.md - Learner portal → Portfolio builder: build portfolio
README.md - Instructor portal → Class Observer: generate class quizzes
README.md - Instructor portal → Learning intelligence: analyze cohorts
README.md - Backend API router → CertPath routes: mounts routes
backend/src/routes/index.js - CertPath routes → CertPath controller: routes requests
backend/src/routes/certpath.routes.js - CertPath routes → Backend authentication: authenticates requests
backend/src/routes/certpath.routes.js - CertPath controller → Groq client: generates AI content
backend/src/controllers/certpathController.js - CertPath controller → Supabase store: reads and writes
backend/src/controllers/certpathController.js - CertPath controller → Microsoft curriculum sync: triggers curriculum sync
backend/src/controllers/certpathController.js - Challenge Lab → API security utilities: authenticates requests
frontend/app/api/challenge-context/route.js - Challenge Lab → Market prompt context: builds prompt context
frontend/app/api/challenge-context/route.js - Branching scenarios → API security utilities: authenticates requests
frontend/app/api/branching/route.js - Branching scenarios → Market prompt context: builds prompt context
frontend/app/api/branching/route.js - Branching scenarios → AI usage limits: checks and logs usage
frontend/app/api/branching/route.js - Branching scenarios → Plan configuration: checks plan limits
frontend/app/api/branching/route.js - AI feedback → API security utilities: authenticates requests
frontend/app/api/feedback/route.js - AI feedback → AI usage limits: checks and logs usage
frontend/app/api/feedback/route.js - Certification prep → CertPath AI coach: offers coaching
backend/src/routes/certpath.routes.js - Certification prep → CertPath practice and exams: offers practice
- Certification prep → CertPath controller: served by
backend/src/routes/certpath.routes.js