xtablo-source/backend/internal
Arthur Belleville bdd3cba314
feat(07-01): wire embed.FS into NewRouter and RunMigrations into cmd/web/main.go
- backend/internal/web/router.go: staticDir string -> staticFS fs.FS; /healthz uses HealthzHandler(); /readyz registered with ReadyzHandler(pinger); embedded FS served via fs.Sub()
- backend/cmd/web/main.go: import assets "backend"; db.RunMigrations(ctx, pool, assets.Migrations) before router; web.NewRouter now receives assets.Static
- All *_test.go NewRouter call sites updated from "./static" to os.DirFS("./static"); "os" import added where missing
2026-05-15 18:14:33 +02:00
..
auth feat(02-07): gorilla/csrf integration — mount middleware, wire all forms, env-driven key 2026-05-14 22:59:06 +02:00
db feat(07-01): embed.go + RunMigrations + HealthzHandler()/ReadyzHandler() split 2026-05-15 18:14:26 +02:00
files test(05-files): add pure unit tests for formatBytes, byteCountReader, and content-type sniff 2026-05-15 13:29:08 +02:00
jobs feat(06-01): implement internal/jobs package with workers and error handler 2026-05-15 16:34:08 +02:00
session feat(01-01): create directory skeleton and per-package doc.go placeholders 2026-05-14 17:53:55 +02:00
tablos feat(01-01): create directory skeleton and per-package doc.go placeholders 2026-05-14 17:53:55 +02:00
tasks feat(01-01): create directory skeleton and per-package doc.go placeholders 2026-05-14 17:53:55 +02:00
web feat(07-01): wire embed.FS into NewRouter and RunMigrations into cmd/web/main.go 2026-05-15 18:14:33 +02:00