feat: P1 profile/portrait API and freeze local-dev environment

Add host-first environment contracts (Local vs CI vs Prod), deps-only
compose, and the Profile → Portrait → deep-access mock payment slice
with device identity and auto-migrate on API startup.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-02 16:24:57 +08:00
co-authored by Cursor
parent dd94e57277
commit 0f320e040b
49 changed files with 1907 additions and 191 deletions
+4 -1
View File
@@ -9,6 +9,9 @@
"scripts": {
"dev:h5": "npm run dev -w @yuxingu/user-h5",
"build:h5": "npm run build -w @yuxingu/user-h5",
"dev:api": "cd apps/api && go run ./cmd/server"
"dev:api": "cd apps/api && go run ./cmd/server",
"deps:up": "docker compose -f docker-compose.dev.yml up -d",
"deps:down": "docker compose -f docker-compose.dev.yml down",
"deps:ps": "docker compose -f docker-compose.dev.yml ps"
}
}