How smhaider-zaidi/chemcurious works
ChemCurious is a chemistry learning platform: learners explore molecular structures, elements and reactions, take quizzes, and review performance; administrators manage users and educational content. The graph shows the documented learning capabilities and the source-index-supported routes into sampled components and storage. Evidence is limited to the README, indexed references and excerpts; unsampled implementation details and several runtime links are intentionally not inferred.
Main entry points: db.ts Chemistry database · users/route.ts User administration API · molecules/route.ts Molecule API · [name]/route.ts Molecule detail API
Components 23
Learning experience
- Molecule explorer
app/molecules/page.tsx - Periodic table page
app/periodic/page.tsx - Reaction explorer
app/reactions/page.tsx - Quiz entry
app/quizzes/page.tsx - Quiz interface
components/quiz-system.tsx - Quiz catalog API
app/api/quizzes/route.ts - Quiz attempt API
app/api/quizzes/attempts/route.ts - Quiz submission API
app/api/quizzes/submit/route.ts
Chemistry content
- 3D molecule viewer
components/molecular-viewer.tsx - Molecule API
app/api/molecules/route.ts - Molecule detail API
app/api/molecules/[name]/route.ts - PubChem lookup
lib/pubchem.ts - Periodic table engine
components/periodic-table.tsx - Reaction API
app/api/reactions/route.ts
Accounts and progress
- Student dashboard
app/dashboard/page.tsx - Session context
contexts/auth-context.tsx - Authentication routes
app/api/auth/login/route.ts - Chemistry database
lib/db.ts
Administration
- User management
app/admin/users/page.tsx - User administration API
app/api/admin/users/route.ts - Quiz analytics API
app/api/admin/analytics/quizzes/route.ts - Admin authorization
lib/admin-guard.ts
Other components
- Learner
Connections 21
- Learner → Molecule explorer: explores molecules
- Molecule explorer → 3D molecule viewer: renders structures
app/molecules/page.tsx - Molecule API → Chemistry database: reads molecules
app/api/molecules/route.ts - Molecule detail API → Chemistry database: reads molecule
app/api/molecules/[name]/route.ts - Molecule API → PubChem lookup: looks up data
app/api/molecules/route.ts - Molecule detail API → PubChem lookup: looks up data
app/api/molecules/[name]/route.ts - Learner → Periodic table page: inspects elements
- Periodic table page → Periodic table engine: renders table
app/periodic/page.tsx - Learner → Reaction explorer: explores reactions
- Reaction API → Chemistry database: reads reactions
app/api/reactions/route.ts - Learner → Quiz entry: takes quizzes
- Quiz entry → Quiz interface: renders quiz
app/quizzes/page.tsx - Quiz catalog API → Chemistry database: reads quizzes
app/api/quizzes/route.ts - Learner → Student dashboard: reviews progress
- Student dashboard → Session context: checks session
app/dashboard/page.tsx - Session context → Authentication routes: authenticates
contexts/auth-context.tsx - User management → User administration API: manages accounts
- User administration API → Admin authorization: checks access
app/api/admin/users/route.ts - User administration API → Chemistry database: reads users
app/api/admin/users/route.ts - Quiz analytics API → Admin authorization: checks access
app/api/admin/analytics/quizzes/route.ts - Quiz analytics API → Chemistry database: queries analytics
app/api/admin/analytics/quizzes/route.ts