Commit Graph

2 Commits

Author SHA1 Message Date
593753fa4d fix: make assets endpoint public for <img src> usage
Images are non-sensitive learning content; removing auth from
/assets/:fileId so React app can use URLs directly in <img src>.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 22:43:19 +02:00
311d35fac0 init: HejYou API Server (Hono + Node.js + TypeScript)
Thin proxy between React app and Directus.
Admin token stays server-side; clients get own 30-day JWTs.
Endpoints: /auth/* register/login/profile/me, /words, /questions,
/qa-pairs, /pair, /progress, /assets/:fileId

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 22:35:19 +02:00