Feature: Contest & Team Management System
π Feature Implementation
We have implemented a comprehensive system for managing game contests, team applications, and tournament brackets.
β¨ Key Features
- Contest Listing & Creation:
- Browse active contests with filtering and pagination.
- "Create Contest" wizard with validation (Step-by-step form).
- Contest Detail & Playground:
- Detailed view of contest rules, prizes, and schedule.
- Playground Mode: A dedicated interactive area for active contest participants to view brackets, matches, and my-team status.
- Application Flow:
- Users can apply to contests as individuals or teams.
- Team leaders can manage members.
- Application status tracking (Pending, Accepted, Rejected).
π Technical Implementation
- Services:
contest-service.ts handles all CRUD operations for contests and applications.
- Hooks:
useContests, useContestDetail, useMyApplication for reactive data fetching using TanStack Query.
- Components: Modularized contest UI (
ContestBody, ContestCTA, GameList, BracketView).
π Related Changes
src/app/(main)/contests/: Contest directory pages.
src/app/(main)/contest/[id]/: Contest playground pages.
src/services/contest-service.ts
src/types/contest.ts
Feature: Contest & Team Management System
π Feature Implementation
We have implemented a comprehensive system for managing game contests, team applications, and tournament brackets.
β¨ Key Features
π Technical Implementation
contest-service.tshandles all CRUD operations for contests and applications.useContests,useContestDetail,useMyApplicationfor reactive data fetching using TanStack Query.ContestBody,ContestCTA,GameList,BracketView).π Related Changes
src/app/(main)/contests/: Contest directory pages.src/app/(main)/contest/[id]/: Contest playground pages.src/services/contest-service.tssrc/types/contest.ts