wannpassts/backend
Tronax bfae47f584
fix(db): auto-create DB directory and improve open error messages
Open() now creates the parent directory of the database path itself,
so e.g. DB_PATH=/data/app.db works on first start without a prior
mkdir. Open, ping, and migration errors are wrapped with context and
hints about writable directories and Docker bind-mount ownership
(chown 1000:1000 or use a named volume).

Also add a README troubleshooting section for the "database could
not be opened" error.
2026-08-27 19:07:07 +02:00
..
cmd/server feat(docker): add single-image multi-stage Docker setup with compose 2026-08-25 19:21:27 +02:00
internal fix(db): auto-create DB directory and improve open error messages 2026-08-27 19:07:07 +02:00
.env.example feat: add WannPassts booking app with Go backend and Vue frontend 2026-08-25 18:50:28 +02:00
go.mod feat: add WannPassts booking app with Go backend and Vue frontend 2026-08-25 18:50:28 +02:00
go.sum feat: add WannPassts booking app with Go backend and Vue frontend 2026-08-25 18:50:28 +02:00