A tournament management application for tracking matches, scores, and tournament progress. The application now includes a simple REST API to maintain data across all visitors.
- Group stage match tracking
- Knockout stage progression
- Real-time score updates
- Persistent data storage via API
- Multiple concurrent users can view and update match data
/src- React frontend application/server- Express API server for data persistence
- Node.js (v14+)
- npm or yarn
- Clone the repository
- Install dependencies:
# Install frontend dependencies
npm install
# Install server dependencies
cd server
npm install
cd ..You need to run both the frontend and the API server:
# From the project root directory
cd server
npm run devThe server will start on port 3001.
# From the project root directory (in a separate terminal)
npm run devThe frontend will start on port 5173 and automatically proxy API requests to the server.
The application uses the following API endpoints:
GET /api/matches- Get all group matchesPUT /api/matches/:index- Update a group matchGET /api/knockout- Get all knockout matchesPUT /api/knockout/:round/:index- Update a knockout match
The application uses:
- React with TypeScript
- Vite for the development environment
- Express for the API server
- File-based storage for persistence
MIT