How makey06/summerscholar works
SummerScholar is a no-login learning app for a child: choose a subject or week, complete progressive activities, and track stars, progress, badges, and a child profile. The frontend routes learners through lessons and progress views; the Express API serves learning content and records progress against PostgreSQL. README capabilities are included, but several frontend pages and API modules were not excerpted, so their internal interactions are not asserted. The frontend-to-API link is documented at the architecture level, not verified from sampled client calls.
Main entry points: App.tsx App router · routes/index.ts Route registry · src/index.ts PostgreSQL data · lesson.tsx Activity player
Components 20
Learning experience
- App router
artifacts/learn-app/src/App.tsx - Home overview
artifacts/learn-app/src/pages/home.tsx - Subject browser
artifacts/learn-app/src/pages/categories.tsx - Subject lessons
artifacts/learn-app/src/pages/category.tsx - Activity player
artifacts/learn-app/src/pages/lesson.tsx - Weekly view
artifacts/learn-app/src/pages/weekly-view.tsx - Badge collection
artifacts/learn-app/src/pages/achievements.tsx - Child profile
artifacts/learn-app/src/pages/profile.tsx
Learning API
- Express API
artifacts/api-server/src/app.ts - Route registry
artifacts/api-server/src/routes/index.ts - Health endpoint
artifacts/api-server/src/routes/health.ts - Category API
artifacts/api-server/src/routes/categories.ts - Lesson API
artifacts/api-server/src/routes/lessons.ts - Progress API
artifacts/api-server/src/routes/progress.ts - Profile API
artifacts/api-server/src/routes/profile.ts - Stats API
artifacts/api-server/src/routes/stats.ts
Learning data
- PostgreSQL data
lib/db/src/index.ts
Shared interface
- Navigation
artifacts/learn-app/src/components/Navigation.tsx - Lesson feedback
artifacts/learn-app/src/components/Confetti.tsx
Other components
- Child learner
Connections 23
- Child learner → App router: uses
- App router → Home overview: routes to
artifacts/learn-app/src/App.tsx - App router → Subject browser: routes to
artifacts/learn-app/src/App.tsx - App router → Subject lessons: routes to
artifacts/learn-app/src/App.tsx - App router → Activity player: routes to
artifacts/learn-app/src/App.tsx - App router → Badge collection: routes to
artifacts/learn-app/src/App.tsx - App router → Child profile: routes to
artifacts/learn-app/src/App.tsx - App router → Navigation: renders
artifacts/learn-app/src/App.tsx - App router → Express API: uses API
- App router → Weekly view: routes to
- Activity player → Lesson feedback: uses
- Express API → Route registry: mounts
artifacts/api-server/src/app.ts - Route registry → Health endpoint: registers
artifacts/api-server/src/routes/index.ts - Route registry → Profile API: registers
artifacts/api-server/src/routes/index.ts - Route registry → Category API: registers
artifacts/api-server/src/routes/index.ts - Route registry → Lesson API: registers
artifacts/api-server/src/routes/index.ts - Route registry → Progress API: registers
artifacts/api-server/src/routes/index.ts - Route registry → Stats API: registers
artifacts/api-server/src/routes/index.ts - Category API → PostgreSQL data: queries
artifacts/api-server/src/routes/categories.ts - Lesson API → PostgreSQL data: queries
artifacts/api-server/src/routes/lessons.ts - Progress API → PostgreSQL data: reads/writes
artifacts/api-server/src/routes/progress.ts - Stats API → PostgreSQL data: queries
artifacts/api-server/src/routes/stats.ts - Profile API → PostgreSQL data: accesses