mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:01:08 +02:00
refactor(photos): remove NestJS backend, use local-first + direct mana-media
The Photos NestJS backend was a proxy to mana-media that enriched responses with local album/favorite/tag data. Now: - Albums store → local-first via albumCollection + albumItemCollection - Favorites → local-first via favoriteCollection (toggle in IndexedDB) - Photo tags → local-first via photoTagCollection - Photo listing/stats → direct mana-media API calls from frontend - Upload → direct mana-media upload from frontend - Delete → direct mana-media delete from frontend Removed 27 TypeScript files, 1 Docker container, 1 port (3039). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e7a8567e61
commit
d7799ec95d
43 changed files with 243 additions and 1816 deletions
|
|
@ -164,7 +164,7 @@ for container in $ALL_PROBLEM_CONTAINERS; do
|
|||
mana-app-skilltree-web) SERVICE_NAME="skilltree-web" ;;
|
||||
mana-app-skilltree-backend) SERVICE_NAME="skilltree-backend" ;;
|
||||
mana-app-photos-web) SERVICE_NAME="photos-web" ;;
|
||||
mana-app-photos-backend) SERVICE_NAME="photos-backend" ;;
|
||||
# mana-app-photos-backend: REMOVED
|
||||
mana-app-web) SERVICE_NAME="mana-web" ;;
|
||||
mana-core-auth) SERVICE_NAME="mana-auth" ;;
|
||||
mana-core-gateway) SERVICE_NAME="api-gateway" ;;
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ setup_service() {
|
|||
;;
|
||||
photos)
|
||||
create_db_if_not_exists "photos"
|
||||
push_schema "@photos/backend" "photos"
|
||||
# Schema managed by mana-sync (backend removed)
|
||||
;;
|
||||
finance)
|
||||
create_db_if_not_exists "finance"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue