Persist prayer data to a mounted Docker volume via Express API

Replaces localStorage with a JSON-file backend (server.js). Prayers are
stored in /data/prayers.json, which is mounted as a named Docker volume so
data survives container restarts and rebuilds. React fetches from /api/prayers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DReRqHxSYuVfCzTzQGD9hZ
This commit is contained in:
Claude committed 2026-07-18 16:20:17 +00:00
1 parent 1d37105e4b
commit 1b8e307d4c
6 files changed
+130 -54

No files matched your search

+7
View File
@@ -234,6 +234,13 @@ body {
gap: 0.75rem;
}
.loading {
text-align: center;
color: var(--text-muted);
font-style: italic;
padding: 1rem 0;
}
.empty {
text-align: center;
color: var(--text-muted);