Commit Graph

2 Commits

Author SHA1 Message Date
admin de3af9d5fa chore: rename UI Tochka→Bank, prod-ready compose, init migration, Caddy snippet
- UI nav: Точка → Банк (route /bank), label-only — internal Tochka API module unchanged
- compose: drop our own Caddy (queoserver uses host-level Caddy), web-nginx proxies /api/*+/webhooks/* to api:3030 internally; expose only 127.0.0.1:3031
- Dockerfile.api: simpler single-stage with tsx for prod (avoids dist build complexity)
- prisma/migrations/0_init committed via `prisma migrate diff` for `migrate deploy` in prod
- docker/Caddyfile.snippet: copy-paste block for queoserver's /etc/caddy/Caddyfile
- .gitignore: data/ (covers embedded-pg, postgres, caddy data dirs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 21:31:48 +03:00
admin 4553f63deb init: M1 scaffolding + M2 organization/clients/services CRUD
- monorepo (npm workspaces): apps/api (Fastify+Prisma+TS), apps/web (Vite+React+TS), packages/shared (zod schemas)
- SSO via auth.queo.ru: jose+JWKS plugin, requireDocPermission(viewer|user|admin)
- DEV_BYPASS_AUTH for local development (hard-checked off in production)
- M2: organization upsert, clients CRUD with search, services catalog with soft-delete
- BigInt -> Number serializer for Prisma money columns
- Embedded Postgres + npm run dev:demo for one-command local boot
- Docker compose for queoserver: postgres + api + web (nginx as ingress proxying /api -> api:3030)
- First migration 0_init committed (prisma migrate diff)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 21:24:26 +03:00