How cloudandbeyond2/colossusiq-new works
CollossusIQ is a multi-role, multi-college education platform: visitors can explore colleges and apply, while authenticated users access role-specific academic, learning, teaching, career, administration, and certificate features. The evident runtime path includes browser API requests handled by a catch-all API route, with session and tenant checks around portal access. The graph preserves major feature areas visible in the tree, but many UI-to-service and persistence relationships are unverified because their source was not sampled.
Main entry points: [module]/page.tsx Role portal · route.ts API handler · session.ts Signed sessions · (marketing)/page.tsx Marketing site
Components 20
Public entry
- Marketing site
frontend/src/app/(marketing)/page.tsx - College sites
frontend/src/app/(college-site)/colleges/[id]/page.tsx - Admissions
frontend/src/app/api/v1/[...path]/route.ts
Identity and tenancy
- Login and MFA
frontend/src/app/login/page.tsx - Role permissions
frontend/src/lib/auth/roles.ts - Signed sessions
frontend/src/lib/auth/session.ts - Authenticator MFA
frontend/src/lib/auth/totp.ts
Portal capabilities
- Role portal
frontend/src/app/[role]/[module]/page.tsx - Learning and exams
frontend/src/components/learning/lesson-content.tsx - Teaching studio
frontend/src/components/teaching/teaching-studio.tsx - Institution operations
frontend/src/components/portal/bespoke - Career and placement
frontend/src/components/portal/bespoke - Certificates
frontend/src/components/certificate/certificate-sheet.tsx - Evaluation review
frontend/src/components/portal/bespoke/evaluation-review.tsx
API and data
- API client
frontend/src/lib/api/client.ts - API handler
frontend/src/app/api/v1/[...path]/route.ts - Request data context
frontend/src/lib/data/index.ts - PostgreSQL data
frontend/src/lib/data/postgres - Certificate signing
frontend/src/lib/security/certificate-signature.ts
Other components
- Visitor
Connections 19
- Visitor → Marketing site: browses
frontend/src/app/(marketing)/page.tsx - Marketing site → College sites: finds colleges
- Visitor → Login and MFA: signs in
- Login and MFA → API handler: authenticates
- API handler → Signed sessions: issues session
frontend/src/app/api/v1/[...path]/route.ts - API handler → Request data context: sets request context
frontend/src/app/api/v1/[...path]/route.ts - Request data context → PostgreSQL data: selects backend
- Signed sessions → Role permissions: validates role
frontend/src/lib/auth/session.ts - Role portal → Role permissions: uses role model
- Role portal → Learning and exams: offers learning
- Role portal → Teaching studio: offers teaching
- Role portal → Institution operations: offers operations
- Role portal → Career and placement: offers career tools
- Role portal → Certificates: offers certificates
- Evaluation review → API client: sends mutations
frontend/src/components/portal/bespoke/evaluation-review.tsx - API client → API handler: fetches API
frontend/src/lib/api/client.ts - API handler → Certificate signing: signs certificates
- API handler → Admissions: handles applications
frontend/src/app/api/v1/[...path]/route.ts - Authenticator MFA → Signed sessions: MFA workflow