How eseddah/ichc-ghana works
This repository appears to combine an International Chemistry Competition assessment portal with an applicant intake flow. The visible assessment sign-in page verifies users with reCAPTCHA, starts Google sign-in, and redirects authenticated sessions toward a quiz; the portal also supports configurable AI exam generation. Separately, an application endpoint verifies reCAPTCHA server-side and stores applicant records in Supabase. The tree includes other pages and duplicate-looking files whose behavior was not sampled, so their relationships are not inferred.
Main entry points: index.js Assessment sign-in · index.ts Application handler · generate-exam.js Exam generator API · apply.html Application page
Components 15
Assessment access
- Assessment sign-in
index.js - Quiz destination
Exam authoring
- Exam portal
portal.html - Exam generator API
api/generate-exam.js
Applicant intake
- Application page
apply.html - Application handler
index.ts - Supabase KV store
External services
- reCAPTCHA widget
- Google sign-in
- Anthropic API
- Google verification
- Push service worker
OneSignalSDKWorker.js - OneSignal SDK
Other components
- Student
- Applicant
Connections 11
- Student → Assessment sign-in: opens
index.js - Assessment sign-in → reCAPTCHA widget: loads widget
index.js - Assessment sign-in → Google sign-in: starts sign-in
index.js - Assessment sign-in → Quiz destination: redirects after auth
index.js - Applicant → Application page: submits
- Application page → Application handler: calls handler
index.ts - Application handler → Google verification: verifies token
index.ts - Application handler → Supabase KV store: reads and writes
index.ts - Exam portal → Exam generator API: requests exam
- Exam generator API → Anthropic API: generates content
api/generate-exam.js - Push service worker → OneSignal SDK: imports SDK
OneSignalSDKWorker.js