Add local-first SPA architecture and containerized production deploy.

Move data access to use-cases and IndexedDB repositories with optional
remote fallback, changelog/sync ports, and encrypted local backup.
Add production Docker Compose (nginx frontend + optional backend) and
Apache host proxy configuration for deployment.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 16:08:02 +03:00
co-authored by Cursor
parent b668ee8507
commit 5e0af42fce
37 changed files with 1117 additions and 51 deletions
+12
View File
@@ -76,6 +76,18 @@ social-graph/
└── docker-compose.yml
```
## Production (Docker + прокси на хосте)
См. [deploy/README.md](deploy/README.md).
Кратко:
```bash
cp deploy/.env.prod.example deploy/.env.prod
docker compose -f docker-compose.prod.yml --env-file deploy/.env.prod up -d frontend
# прокси на хосте → http://127.0.0.1:8080 (см. deploy/apache/social-graph.conf)
```
## Запуск без Docker
**Backend:**