Add full SkinsPins application

- FastAPI + SQLite + Alpine.js + HTMX PWA for Bingo Bango Bongo golf scoring
- Passwordless magic link auth with email (aiosmtplib) and admin invite system
- Real-time score entry via WebSocket with drag-and-drop player ordering
- Course management with per-hole par and stroke index
- Scorecard with golf score markers (birdie, eagle, bogey, etc.)
- Two-step new game form with tee selection per player
- Dashboard with stats, live games social stream, and recent game history
- Game summary view (read-only scorecard with leaderboard)
- User profile pages with win stats
- PWA install support with generated PNG icons
- Admin panel for users, courses, games, and invitations

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Rolf
2026-03-20 10:16:46 +01:00
parent 4b31b98f89
commit 3a1da1482c
51 changed files with 4964 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
# Secret key for signing session cookies — use a long random string in production
SECRET_KEY=change-me-to-a-long-random-string
# Email address of the admin user
ADMIN_EMAIL=admin@example.com
# Base URL used to build magic links (no trailing slash)
SITE_URL=http://localhost:8000
# development | production
ENV=development
# Path to the SQLite database file (inside the container)
DATABASE_PATH=/data/skinspins.db
# SMTP email settings (leave SMTP_HOST empty to disable email and log links instead)
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USER=your@email.com
SMTP_PASSWORD=your-smtp-password
SMTP_FROM=noreply@example.com
# Use implicit SSL/TLS (port 465). Set SMTP_TLS=false when using SSL.
SMTP_SSL=false
# Use STARTTLS (port 587). Set to "false" when using SSL.
SMTP_TLS=true