How darwinjacob-rgb/forgeeval-ai works
ForgeEval is a hackathon platform for participants to find problems, submit project repositories, and receive automated evaluation, with organizer and judge tools for managing problems, submissions, and results. The main participant flow runs from the frontend through the API to a submission controller, which starts security, runtime, and AI evaluation and persists results. The graph also shows core management and review capabilities. Some subsystem details are represented at directory level because their source was not excerpted; those links are limited to documented or indexed relationships.
Main entry points: routes API routes · participant.controller.ts Participant operations · submission.controller.ts Submission management · database.ts Prisma database
Components 20
Web application
- Web app
src/App.tsx - Participant views
src/components/participant - Organizer and judge views
src/components - API client
src/services/api.ts
API and management
- API application
server/src/app.ts - API routes
server/src/routes - Authentication
server/src/middleware/auth.ts - Participant operations
server/src/controllers/participant.controller.ts - Problem management
server/src/controllers/problem.controller.ts - Submission management
server/src/controllers/submission.controller.ts - Hackathon management
server/src/controllers/hackathon.controller.ts - Team management
server/src/controllers/team.controller.ts - Judge evaluations
server/src/controllers/judge.controller.ts - Leaderboard
server/src/controllers/leaderboard.controller.ts - Evaluation operations
server/src/controllers/evaluation.controller.ts
Submission evaluation
- Security analysis
server/src/services/security.service.ts - Runtime tests
server/src/services/runtime.service.ts - AI evaluation
server/src/services/aiEvaluation.service.ts
Persistence
- Prisma database
server/src/config/database.ts
Other components
- Participant
Connections 23
- Participant → Web app: uses
- Web app → Participant views: renders
src/App.tsx - Web app → Organizer and judge views: renders
src/App.tsx - Participant views → API client: requests data
src/components/participant/ParticipantDashboard.tsx - API client → API application: calls API
src/services/api.ts - API application → API routes: mounts
server/src/app.ts - API routes → Participant operations: routes requests
server/src/routes/participant.routes.ts - API routes → Problem management: routes requests
server/src/routes/problem.routes.ts - API routes → Submission management: routes requests
server/src/routes/index.ts - API routes → Authentication: protects routes
server/src/routes/participant.routes.ts - Participant operations → Prisma database: reads and writes
server/src/controllers/participant.controller.ts - Submission management → Prisma database: reads and writes
server/src/controllers/submission.controller.ts - Problem management → Prisma database: reads and writes
server/src/controllers/problem.controller.ts - Team management → Prisma database: reads and writes
server/src/controllers/team.controller.ts - Submission management → Security analysis: runs analysis
server/src/controllers/submission.controller.ts - Submission management → Runtime tests: runs tests
server/src/controllers/submission.controller.ts - Submission management → AI evaluation: evaluates submission
server/src/controllers/submission.controller.ts - Participant operations → Security analysis: runs analysis
server/src/controllers/participant.controller.ts - Participant operations → Runtime tests: runs tests
server/src/controllers/participant.controller.ts - Participant operations → AI evaluation: evaluates submission
server/src/controllers/participant.controller.ts - Evaluation operations → Security analysis: uses service
server/src/controllers/evaluation.controller.ts - Evaluation operations → Runtime tests: uses service
server/src/controllers/evaluation.controller.ts - Evaluation operations → AI evaluation: uses service
server/src/controllers/evaluation.controller.ts