How sarvan-2187/dog-food works
HackFlow is a self-hosted hackathon operations platform with a React client and FastAPI API. Its principal workflow runs from account registration and team formation through project submission, organizer eligibility decisions, judge assignment and scoring, normalized results, certificates, and archive retrieval. The README documents these domain-stage handoffs; sampled backend excerpts support key authorization and eligibility behavior, while the source index identifies major unsampled modules. Accordingly, some documented subsystem links use README evidence rather than implying that unsampled implementation details were inspected.
Main entry points: teams/router.py Team formation · main.py HTTP application · App.tsx Application routes · submissions/router.py Project submissions
Components 24
Web client
- Application routes
src/web/src/App.tsx - Session context
src/web/src/lib/auth-context.tsx - API client
src/web/src/lib/api.ts
Identity and events
- Accounts and recovery
src/api/app/auth/router.py - Event management
src/api/app/events/router.py - Event archive
src/api/app/events/router.py
Participation
- Team formation
src/api/app/teams/router.py - Project submissions
src/api/app/submissions/router.py - Eligibility decisions
src/api/app/submissions/router.py - Gallery and voting
src/api/app/voting/router.py
Judging and results
- Judge assignment
src/api/app/judging/router.py - Rubrics and scores
src/api/app/scoring/router.py - Score normalization
src/api/app/scoring/normalization.py - Results and exports
src/api/app/scoring/router.py - Verifiable certificates
src/api/app/scoring/certificate.py
Platform services
- HTTP application
src/api/app/main.py - Uploaded media
src/api/app/storage/router.py - Webhook integrations
src/api/app/webhooks/service.py - Audit records
src/api/app/audit/log.py - Application database
src/api/app/db.py
Other components
- Participants
- Organizers
- Judges
- Browser users
Connections 27
- Browser users → Application routes: uses
src/web/src/App.tsx - Application routes → Session context: provides session
src/web/src/App.tsx - Application routes → API client: routes screens
- Session context → API client: calls
src/web/src/lib/auth-context.tsx - API client → HTTP application: sends API requests
- HTTP application → Accounts and recovery: mounts routes
src/api/app/main.py - HTTP application → Event management: mounts routes
src/api/app/main.py - Participants → Accounts and recovery: registers
src/api/app/auth/router.py - Accounts and recovery → Team formation: enables membership
- Participants → Team formation: forms teams
README.md - Team formation → Project submissions: submits projects
README.md - Organizers → Eligibility decisions: rules on entries
src/api/app/submissions/router.py - Project submissions → Eligibility decisions: provides entries
README.md - Eligibility decisions → Judge assignment: selects competing entries
README.md - Organizers → Judge assignment: assigns judges
README.md - Judge assignment → Rubrics and scores: enables judging
README.md - Judges → Rubrics and scores: submits scores
README.md - Rubrics and scores → Score normalization: supplies raw scores
README.md - Score normalization → Results and exports: produces standings
README.md - Results and exports → Verifiable certificates: provides revealed winners
README.md - Results and exports → Event archive: feeds archive
README.md - Verifiable certificates → Event archive: archives credentials
README.md - Participants → Gallery and voting: browses and votes
README.md - Project submissions → Gallery and voting: appears in gallery
- Team formation → Uploaded media: uploads media
src/api/app/storage/router.py - Event management → Webhook integrations: configures integrations
- Application database → HTTP application: persists application state
src/api/app/main.py