A comprehensive real-time pickleball scoring system for managing games across multiple courts and sites.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── games.ts # Game management API
│ │ ├── scoring.ts # Scoring operations API
│ │ └── static.ts # Static file serving
│ └── index.ts # Main server entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── GameBoard.tsx # Court overview
│ │ ├── ScoreKeeper.tsx # Scoring interface
│ │ ├── AudienceView.tsx # Public score display
│ │ └── PointLog.tsx # Point history popup
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
GET /api/games - List all active gamesPOST /api/games - Create new gamePUT /api/games/:id/score - Update game scoreGET /api/games/:id/points - Get point historyGET /audience/:courtId - Public audience view