feat(todo): prepare for production deployment

- Fix type-check errors (subtask id, duplicate currentLocale)
- Add complete Astro landing page with Hero, Features, Pricing, CTA
- Add production environment templates (.env.example, .env.production.example)
- Add docker-compose.prod.yml for production deployment
- Add deploy.sh script for server deployment
- Add /health endpoint for web app health checks
- Improve docker-entrypoint.sh with database wait logic
- Remove references to deleted statistics and session-tasks stores

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-01-28 14:04:27 +01:00
parent 99fdf1d17f
commit 1dc4f58edb
24 changed files with 1511 additions and 129 deletions

25
apps/todo/.env.example Normal file
View file

@ -0,0 +1,25 @@
# Todo Production Environment Variables
# Copy this file to .env and fill in the values for docker-compose.prod.yml
# =============================================================================
# Backend Configuration
# =============================================================================
# PostgreSQL connection string
DATABASE_URL=postgresql://todo_user:CHANGE_ME@postgres:5432/todo
# Mana Core Auth URL for JWT validation
MANA_CORE_AUTH_URL=https://auth.mana.how
# Allowed CORS origins (comma-separated)
CORS_ORIGINS=https://todo.mana.how
# =============================================================================
# Web Configuration
# =============================================================================
# Backend API URL (as seen from browser)
PUBLIC_BACKEND_URL=https://todo-api.mana.how
# Auth URL (as seen from browser)
PUBLIC_MANA_CORE_AUTH_URL=https://auth.mana.how