How symmetry7/algogym works
AlgoGym is a competitive-programming learning workspace: users browse practice and learning content, connect coding profiles, and track progress and rewards. Its Next.js application serves the product and API surface; Supabase supplies identity and persisted data, with provider APIs and Gemini supporting documented integrations. The graph also preserves interview preparation, communities, rankings, and billing as product areas. Evidence is limited to the README and sampled/indexed files; unsampled subsystems are represented at supported directory paths, without guessed call links.
Main entry points: route.ts API dispatch · app Next.js app · problem-catalog.ts Problem catalog · page.tsx Training gym
Components 17
Web experience
- Next.js app
apps/web/src/app - API dispatch
apps/web/src/app/api/[...path]/route.ts
Practice and learning
- Problem catalog
apps/web/server/problem-catalog.ts - Training gym
apps/web/src/app/problems/(list)/page.tsx - System design
apps/web/src/app/system-design - Symm AI learning
apps/web/server - Interview prep
apps/web/server/interview-items.ts - Gemini API
Identity and progress
- Profile verification
supabase/functions/profile-verification/index.ts - Progress analytics
apps/web/server/learning-progress.ts - Supabase
- Coding providers
Community and commerce
- Communities and rankings
apps/web/server - Billing and rewards
apps/web/server/billing.ts
Code execution
- Judge generation
packages/judge/src/generate.mjs - Judge queue API
apps/engine/src/app.ts
Other components
- Learner
Connections 9
- Learner → Next.js app: uses
README.md - Next.js app → API dispatch: dispatches
README.md - Training gym → Problem catalog: loads catalog
apps/web/src/app/problems/(list)/page.tsx - Problem catalog → Supabase: reads data
apps/web/server/problem-catalog.ts - Profile verification → Coding providers: checks profiles
supabase/functions/profile-verification/index.ts - API dispatch → Supabase: uses data and identity
README.md - API dispatch → Coding providers: integrates
README.md - API dispatch → Gemini API: requests AI
README.md - Judge generation → Judge queue API: supplies harnesses