2025-08-25 12:39:54 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 14:49:43 +00:00
2025-08-24 23:47:39 +00:00
2025-08-24 23:47:39 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 15:17:30 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 15:18:05 +00:00
2025-08-24 23:47:39 +00:00
2025-08-24 14:49:43 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 23:00:40 +00:00
2025-08-24 14:49:43 +00:00
2025-08-24 23:47:39 +00:00

Super Sunday Padel — Full PROD bundle

Stack: Postgres 16 + Node/Express API + Nginx static frontend
Features: Players, Teams, Tournaments, Enrollments, Matches, Results, Americano generator, JWT Auth, basic admin SPA.

Quick start

cp .env.example .env
docker compose up -d --build
# Open http://localhost:8080
# Admin at http://localhost:8080/admin (login with ADMIN_EMAIL / ADMIN_PASSWORD from .env)

Push to Gitea (example)

git init
git add .
git commit -m "Super Sunday full prod v1"
git remote add origin <URL_DE_TON_GITEA>
git push -u origin main

API (highlights)

  • POST /api/auth/login -> { token }
  • GET /api/health
  • Players: GET/POST/PUT/DELETE /api/players
  • Teams: GET/POST/PUT/DELETE /api/teams
  • Tournaments: GET/POST/PUT/DELETE /api/tournaments
  • Enrollments: GET/POST/DELETE /api/enrollments
  • Matches: GET/POST/PUT /api/matches, POST /api/matches/generate (Americano)
  • Scores: POST /api/matches/:id/score

Protected routes require Authorization: Bearer <token>.

Notes

  • Change JWT_SECRET and admin credentials before going live.
  • SQL seed creates minimal schema + demo tournament.
Description
No description provided
Readme 4.7 MiB
Languages
JavaScript 55.3%
Shell 18.8%
HTML 13.4%
CSS 10.6%
Python 0.9%
Other 1%