π§ What are we building?
A complete Project Detail Page that is not just for viewing, but for:
- π¦ Submission (Participant)
- β Scoring (Judge)
- π‘οΈ Moderation (Organizer/Admin)
- π Evaluation tracking
π This is the core execution layer of hackathons/events
π― Goal
Build a fully functional, role-aware Project Page that:
- shows complete project data
- supports submission flow
- supports judging & scoring
- supports moderation
- handles real-world workflows
π§ Core Concept
Project Page = View + Actions + Evaluation + Moderation
ποΈ Route
π¦ Page Layout
Header (Title + Status + Actions)
---------------------------------
Project Overview
---------------------------------
Team Info
---------------------------------
Submission Details
---------------------------------
Attachments / Links
---------------------------------
Scoring & Feedback (Judge)
---------------------------------
Moderation Panel (Organizer/Admin)
---------------------------------
Activity / Timeline
πΉ 1. Header
Show:
πΉ 2. Project Overview
- Description
- Tech Stack (skills)
- GitHub Repo
- Live Demo URL
πΉ 3. Team Section
- Team Name / Solo
- Members list
πΉ 4. Submission Details
- Submission Status
- Submitted At
- Last Updated
- Version (draft vs final)
πΉ 5. Attachments
β 6. Scoring System (CRITICAL)
Only for Judges
Scoring UI
Fields:
Innovation (0β10)
Technical Complexity (0β10)
Design / UX (0β10)
Impact (0β10)
Total Score
Feedback
- text area for judge comments
Submit Score
API
POST /api/v1/projects/:id/score
Data Model (Example)
Score {
projectId
judgeId
innovation
technical
design
impact
totalScore
feedback
submittedAt
}
Rules
- judge can score only assigned projects
- score editable until deadline
- multiple judges β average score
π§βπ» 7. Participant Actions
- Edit Project (only draft)
- Delete Project (only draft)
- Submit Project
Submit Flow
Click Submit
β
Validation check
β
Status β submitted
β
Lock editing
API
POST /api/v1/projects/:id/submit
π’ 8. Organizer Moderation Panel
Actions
- View all submissions
- Approve / Reject project
- Delete inappropriate project
API
POST /api/v1/projects/:id/approve
POST /api/v1/projects/:id/reject
DELETE /api/v1/projects/:id
π‘οΈ 9. Admin Controls
- Delete project
- Suspend project
- Ban user
π 10. Score Aggregation
Show:
- average score
- number of judges
- ranking (optional)
avgScore = totalScore / numberOfJudges
π 11. Activity Timeline
Show events:
- project created
- edited
- submitted
- scored
- approved/rejected
βοΈ API (FULL)
Get Project
Submit Project
POST /api/v1/projects/:id/submit
Score Project
POST /api/v1/projects/:id/score
Moderate
POST /api/v1/projects/:id/approve
POST /api/v1/projects/:id/reject
DELETE /api/v1/projects/:id
π Permissions (VERY IMPORTANT)
Participant β own project only
Organizer β community projects
Judge β assigned projects
Admin β full access
π§© States
Loading
Error
Not Found
Unauthorized
π‘οΈ Edge Cases
- scoring after deadline
- duplicate scoring
- editing after submission
- unauthorized judge access
- project deleted mid-view
π¨ UI Requirements
- clean sections
- clear scoring inputs
- responsive layout
- action buttons visible by role
- status badges
π§ͺ Test Cases
π File Structure
/projects/[id]
βββ page.tsx
βββ components/
β βββ Header.tsx
β βββ Overview.tsx
β βββ Team.tsx
β βββ Submission.tsx
β βββ ScorePanel.tsx
β βββ ModerationPanel.tsx
β βββ Timeline.tsx
π Future Enhancements
- live scoring updates
- judge discussion panel
- AI scoring assistance
- leaderboard
β
Done When
- full project lifecycle handled
- scoring system works
- moderation works
- permissions enforced
- UI responsive
π― Priority
π₯ CRITICAL β Core evaluation system
π Final Note
This page is the heart of your platform.
This is where projects are built, judged, and validated.
π Build it like a real hackathon system, not just a detail page.
π§ What are we building?
A complete Project Detail Page that is not just for viewing, but for:
π This is the core execution layer of hackathons/events
π― Goal
Build a fully functional, role-aware Project Page that:
π§ Core Concept
ποΈ Route
π¦ Page Layout
πΉ 1. Header
Show:
Project Title
Status Badge:
Event Name + Type
Action Buttons (role-based)
πΉ 2. Project Overview
πΉ 3. Team Section
πΉ 4. Submission Details
πΉ 5. Attachments
β 6. Scoring System (CRITICAL)
Only for Judges
Scoring UI
Fields:
Total Score
Feedback
Submit Score
API
Data Model (Example)
Rules
π§βπ» 7. Participant Actions
Submit Flow
API
π’ 8. Organizer Moderation Panel
Actions
API
π‘οΈ 9. Admin Controls
π 10. Score Aggregation
Show:
π 11. Activity Timeline
Show events:
βοΈ API (FULL)
Get Project
Submit Project
Score Project
Moderate
π Permissions (VERY IMPORTANT)
π§© States
Loading
Error
Not Found
Unauthorized
π‘οΈ Edge Cases
π¨ UI Requirements
π§ͺ Test Cases
π File Structure
π Future Enhancements
β Done When
π― Priority
π₯ CRITICAL β Core evaluation system
π Final Note
This page is the heart of your platform.
π Build it like a real hackathon system, not just a detail page.