Commit Graph

7 Commits

Author SHA1 Message Date
Jeff Emmett c32070806a Switch Listmonk integration to direct PostgreSQL access
- Replaced HTTP API calls with direct database insertions
- More reliable than API auth which requires session tokens in Listmonk v5+
- Added pg package for PostgreSQL connectivity
- Handles both new subscribers and existing ones (updates attributes)
- Merges WORLDPLAY attributes with any existing subscriber data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 20:15:07 +00:00
Jeff Emmett f0641cc04a Add Listmonk integration for newsletter subscriber sync
- New registrations with newsletter=yes are automatically added to WORLDPLAY list
- Stores registration metadata (role, interests, location) as subscriber attributes
- Handles existing subscribers by adding them to the list
- Connected to Listmonk via internal Docker network

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 19:15:08 +00:00
Jeff Emmett 196ca4589d Add Google Sheets and Resend email integration
- Registration data sent to Google Sheet (all fields)
- Confirmation email sent via Resend
- Beautiful HTML email template matching site design
- Both integrations are optional (gracefully disabled if not configured)

Environment variables needed:
- RESEND_API_KEY: Resend API key for emails
- GOOGLE_SHEET_ID: Google Sheet ID for registrations
- GOOGLE_CREDENTIALS: Service account JSON credentials

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 14:35:15 +01:00
Jeff Emmett 5a9fb1786a Remove worldplay.jeffemmett.com, use worldplay.art only
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:53:22 +01:00
Jeff Emmett 9cb5faa44f Fix health check to use IPv4
Health check was using localhost which resolved to IPv6 [::1],
but the server binds to 0.0.0.0. Changed to 127.0.0.1.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:51:09 +01:00
Jeff Emmett 275a4faf9a Add worldplay.art domain support
- Added worldplay.art and www.worldplay.art to Traefik router
- Updated www redirect to point to worldplay.art

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:30:46 +01:00
Jeff Emmett 52000c0f5a Initial commit: WORLDPLAY event website
- Express server with health check
- Single-page HTML site
- Docker + docker-compose setup
- Traefik integration for worldplay.jeffemmett.com

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 11:50:14 +01:00