feat: add sqlite-backed auth and library services

Bootstrap SQLite on server startup with embedded migrations and development seed data. Replace placeholder auth and library responses with database-backed services, bearer sessions, and repository-driven API handlers.
This commit is contained in:
2026-04-02 22:22:38 +03:00
parent debd4d05b9
commit 35abd27473
15 changed files with 808 additions and 64 deletions

View File

@@ -4,4 +4,5 @@ SERVER_PORT=4040
DATABASE_PATH=./data/app.db
MEDIA_ROOT=./media
CORS_ORIGINS=http://localhost:5173
DEFAULT_ADMIN_USERNAME=demo
DEFAULT_ADMIN_PASSWORD=demo