Store and retrieve normalised data in a PostgreSQL database. #6
Labels
No labels
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nasandre/dnd-character-generator#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Change the backend data storage to a PostgreSQL database for both the web app and the mcp server. This version allows you to:
Resolved and deployed. The backend now runs a storage engine with a PostgreSQL database mode:
storage.mode = "db"on boot; normalized app data (settings, characters, campaigns, parties, encounters, homebrew, lore, users, documents) persisted in PostgreSQL (the servarr-stackpostgrescontainer, via theservarr_defaultDocker network).https://dndgen.tabletopamsterdam.nl(andhttp://192.168.50.213:8870):GET /api/healthreturns{"status":"ok","storage":{"mode":"db","database":"postgres","jsonFallback":true}}; settings, auth providers, and dnd/classes endpoints all return 200./api/*route and breaking the container healthcheck.Commits:
7fc3b2d,a6495ea,d317478(branchfeatures/postgresql).This completes the milestone. mcp-server JSON document storage is being handled separately.