Commit graph

7 commits

Author SHA1 Message Date
9fad8af225 feat: add local dev workflow with hot reload via Traefik
Route dev domain through Traefik to host:3001 instead of Docker
container, enabling instant hot reload. Expose PostgreSQL and Redis
ports to localhost for local dev server connectivity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:55:26 +00:00
3cd5b05c46 fix: bypass auth in dev mode and add mock session for development
Add DEV_MODE env var check to return mock admin session when auth is
unavailable, hostname-based middleware bypass for dev domain, and
window.location.href for login redirect to ensure cookies are sent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:18:48 +00:00
b389d8b482 fix: bypass auth in dev mode and add mock session for development
next build bakes NODE_ENV=production into the bundle, so a custom
DEV_MODE env var is used instead. Middleware bypasses auth by hostname
for the dev domain, and getQuestSession returns a mock admin session
when DEV_MODE=true. Login page now uses window.location.href for
full-page navigation to ensure the session cookie is sent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 14:45:09 +00:00
e371581375 fix: update middleware for custom auth and increase dev rate limit
Some checks failed
Build and Deploy / build (push) Successful in 3m53s
Build and Deploy / deploy (push) Failing after 4s
- Change session cookie name from better-auth.session_token to session_token
- Increase rate limit to 100 req/min in development (10 in production)
- Fix DATABASE_URL to use URL-encoded password for special characters

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-16 13:13:56 +00:00
6ef918aad4 Add reference docs and update CLAUDE.md
Some checks failed
Build and Deploy / build (push) Failing after 5s
Build and Deploy / deploy (push) Has been skipped
2026-02-15 23:33:57 +00:00
50833b778a Add Dockerfile and CI/CD pipeline
Some checks failed
Build and Deploy / build (push) Failing after 56s
Build and Deploy / deploy (push) Has been skipped
2026-02-15 22:42:41 +00:00
91f4ba3dbf Initial infrastructure setup 2026-02-15 19:31:34 +00:00