How salaudeenabdulkabir/cyndy-edu works
Cyndy Educational Pathways is a multi-role application portal for applicants, application workers, and administrators. The main applicant journey is to browse available programs, create and complete an application, upload required documents and payment evidence, then track its status; staff review applications and administrators manage catalog, assignments, and payment confirmation. Database records and private R2 documents support these stages, with Clerk providing identity. The graph reflects README capabilities and sampled route ownership; some page-to-API wiring and unsampled subsystems are represented only where documentation supports them.
Main entry points: schema.ts Portal database · page-content.tsx Application wizard · page.tsx Admin dashboard · route.ts Application records
Components 22
Applicant portal
- Application wizard
app/apply/page-content.tsx - Application sections
app/apply/sections - Program catalog
app/api/catalog/route.ts - Application records
app/api/applications/route.ts - Application detail
app/api/applications/[id]/route.ts - Document handling
app/api/applications/[id]/documents/route.ts - Payment receipt
app/api/payments/receipt/route.ts - Application status
app/status/page.tsx
Staff operations
- Worker dashboard
app/worker/page.tsx
Administration
- Admin dashboard
app/admin/(protected)/page.tsx - Application oversight
app/api/admin/applications/route.ts - Catalog management
app/admin/catalog-manager.tsx - Catalog administration
app/api/admin/catalog/route.ts - Payment review
app/api/admin/payments/route.ts - Worker management
app/api/admin/workers/route.ts
Platform services
- Notifications
app/api/notifications/route.ts - Portal database
lib/db/schema.ts - Application policy
lib/application-policy.ts - Private document storage
lib/r2.ts
External services
- Clerk identity
- Cloudflare R2
Other components
- Applicant
Connections 36
- Applicant → Application wizard: completes form
- Application wizard → Program catalog: loads choices
- Application wizard → Application records: creates application
- Application wizard → Application detail: updates application
- Application wizard → Document handling: uploads documents
- Application wizard → Payment receipt: submits receipt
- Application sections → Application wizard: renders sections
- Program catalog → Portal database: reads catalog
- Application records → Portal database: reads and writes
- Application records → Application policy: shapes client data
- Application detail → Portal database: reads and updates
- Application detail → Application policy: checks submission
- Document handling → Portal database: reads and writes
- Document handling → Private document storage: stores and signs files
- Private document storage → Cloudflare R2: reads and writes
- Payment receipt → Portal database: records receipt
- Payment receipt → Private document storage: stores receipt
- Worker dashboard → Applicant: supports review
- Worker dashboard → Clerk identity: authenticates
- Admin dashboard → Application oversight: manages applications
- Admin dashboard → Catalog management: manages catalog
- Admin dashboard → Payment review: reviews payments
- Admin dashboard → Worker management: manages workers
- Catalog management → Catalog administration: saves catalog
- Catalog administration → Portal database: reads and writes
- Catalog administration → Portal database: imports programs
- Application oversight → Portal database: reads and updates
- Payment review → Portal database: confirms payment
- Payment review → Private document storage: signs receipt links
- Worker management → Portal database: reads and writes
- Worker management → Clerk identity: creates identity
- Notifications → Portal database: reads and updates
- Application status → Notifications: loads alerts
- Application records → Clerk identity: authenticates
- Program catalog → Clerk identity: authenticates
- Payment receipt → Clerk identity: authenticates