Greg abb3f47a57 feat: add admin page for date and player management
- Add active flag to Player model with idempotent ALTER TABLE migration
- Filter inactive players from main attendance table and API
- New /admin page with date generation (preview + bulk add) and player management (add/deactivate/reactivate)
- New API endpoints: GET/POST /api/players, PATCH /api/players/<id>
- Add Admin nav link on main page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 12:55:41 +01:00

Sport Attendance Sheet

A simple, editable attendance table with dates as rows and player names (plus guest) as columns. Users can mark their attendance with a click. No login, no user management, just a fast and easy attendance tracker.

Deploying to Coolify (Docker)

  1. Build and push the Docker image (or connect your repo to Coolify):

    • If using Git: Push this repo to your Git provider and connect it in Coolify.
    • If building locally:
      docker build -t yourusername/sport-attendance-sheet .
      docker run -p 5000:5000 yourusername/sport-attendance-sheet
      
  2. Create a new Docker app in Coolify

    • Set the port to 5000.
    • Ensure persistent storage for attendance_data.json if you want data to survive redeploys.
    • Set environment variable PORT=5000 if needed.
  3. Access your app

    • Once deployed, your app will be available at the URL Coolify provides.
Description
No description provided
Readme 310 KiB
Languages
HTML 62.4%
Python 20.5%
JavaScript 16.7%
Dockerfile 0.4%