How 0xros-200/gigabit works
GigaBIT is a hackathon-oriented coding platform. The principal evidenced workflow is a participant signing in, browsing problems, opening a coding workspace, and submitting code for per-test-case evaluation; organizers also have an admin problem-management view. The README describes broader hackathon management, judging, team formation, and real-time updates, but the supplied tree and excerpts do not establish those runtime flows. Edges reflect shown calls or imports and documented capabilities; links from the evaluation hook to the backend are unverified.
Main entry points: main.py FastAPI endpoints · App.tsx App routing · Workspace.tsx Coding workspace · useProfile.ts Profile API hook
Components 24
Participant experience
- App routing
frontend/src/App.tsx - Landing page
frontend/src/features/landing/LandingPage.tsx - Dashboard views
frontend/src/features/dashboard - Coding workspace
frontend/src/features/workspace/Workspace.tsx - Code editor
frontend/src/features/editor/EditorPanel.tsx - Problem details
frontend/src/features/problem - Results console
frontend/src/features/console
Identity and profile
- Sign-in page
frontend/src/features/auth/AuthPage.tsx - Auth session
frontend/src/contexts/AuthContext.tsx - Supabase auth/storage
frontend/src/lib/supabase.ts - Profile API hook
frontend/src/hooks/useProfile.ts - User authorization
backend/core/security.py
Problems and persistence
- Problem list hook
frontend/src/hooks/useProblems.ts - FastAPI endpoints
backend/main.py - SQLAlchemy models
backend/database/models.py - Database sessions
backend/database/connection.py
Code evaluation
- Evaluation hook
frontend/src/hooks/useEvaluate.ts - Language driver
backend/core/driver.py - Sandbox evaluation
backend/core/judge.py - Judge0 service
Organizer capabilities
- Problem administration
frontend/src/features/admin/AdminProblemsPage.tsx - Hackathon tools
frontend/src/features/dashboard/HackathonView.tsx
Other components
- Participant
- Organizer
Connections 29
- Participant → App routing: opens
frontend/src/App.tsx - App routing → Landing page: routes to
frontend/src/App.tsx - App routing → Sign-in page: routes to
frontend/src/App.tsx - App routing → Dashboard views: routes to
frontend/src/App.tsx - App routing → Coding workspace: routes to
frontend/src/App.tsx - App routing → Problem administration: routes to
frontend/src/App.tsx - Sign-in page → Auth session: reads auth
frontend/src/features/auth/AuthPage.tsx - Sign-in page → Supabase auth/storage: authenticates
frontend/src/features/auth/AuthPage.tsx - Auth session → Supabase auth/storage: tracks session
frontend/src/contexts/AuthContext.tsx - Coding workspace → Code editor: renders
frontend/src/features/workspace/Workspace.tsx - Coding workspace → Problem details: renders
frontend/src/features/workspace/Workspace.tsx - Coding workspace → Results console: renders
frontend/src/features/workspace/Workspace.tsx - Coding workspace → Evaluation hook: uses
frontend/src/features/workspace/Workspace.tsx - Coding workspace → Problem list hook: uses
frontend/src/features/workspace/Workspace.tsx - Dashboard views → Problem list hook: uses
frontend/src/features/dashboard/StatsView.tsx - Problem list hook → FastAPI endpoints: fetches problems
frontend/src/hooks/useProblems.ts - Profile API hook → Supabase auth/storage: gets session
frontend/src/hooks/useProfile.ts - Profile API hook → FastAPI endpoints: reads profile
frontend/src/hooks/useProfile.ts - Profile API hook → FastAPI endpoints: updates profile
frontend/src/hooks/useProfile.ts - Problem administration → FastAPI endpoints: manages problems
- Organizer → Hackathon tools: uses
- FastAPI endpoints → Database sessions: opens sessions
backend/main.py - FastAPI endpoints → SQLAlchemy models: queries and writes
backend/main.py - FastAPI endpoints → User authorization: checks identity
backend/main.py - Database sessions → SQLAlchemy models: provides base
backend/database/models.py - FastAPI endpoints → Language driver: builds harness
backend/main.py - FastAPI endpoints → Sandbox evaluation: evaluates cases
backend/main.py - Sandbox evaluation → Judge0 service: submits code
- Evaluation hook → FastAPI endpoints: submits code