Experience · Repository · Active
cs-transacion-manage
Transaction management experience with a dedicated NestJS BFF, React frontend, local shared contracts, platform-auth roles, platform-payments subscription tiers and dedicated PostgreSQL persistence.
- NestJS 11
- Prisma 7
- PostgreSQL
- React 19
- Vite
- Redux Toolkit
- Tailwind 4
Spec sheet
Area
Experience / CS Transaction Manage
Public host
http://transactions.cs.lvh.me:8080
Runtime shape
apps/api + apps/web + packages/shared
Backend port
3005
Frontend port
5179
Data store
Dedicated PostgreSQL
Responsibilities
- Own the transaction, relationship, counterparty, series, investment and agenda user experience.
- Expose a same-origin BFF that delegates login and session resolution to platform-auth-service.
- Calculate subscription-aware product capabilities from platform-auth roles and platform-payments plan status.
- Persist product state in transaction-postgres through Prisma.
- Keep frontend traffic same-origin and route all browser API calls through /api.
- Keep DTO and UI-facing types aligned through the local @casa-srl/shared package.
Interfaces and contract surface
- GET /api/health
- GET /api/auth/me
- POST /api/auth/register
- POST /api/auth/login
- GET /api/transactions
- GET /api/series
- GET /api/investments
- GET /api/agenda
Internal modules
Backend
cs transaction api
NestJS BFF for CS Transaction Manage, delegating auth/session/role flows to platform-auth-service and subscription status to platform-payments-service while owning onboarding, ledger, transaction, series, investment and agenda APIs.
Frontend
cs transaction web
React and Vite frontend for CS Transaction Manage, rendering the ledger workspace, onboarding, agenda, transactions, series and investments through same-origin APIs.
Package
cs transaction shared
Local shared package for CS Transaction Manage contracts and TypeScript types consumed by the BFF and frontend.
Consumers
- Internal users via transactions host
Dependencies and external touchpoints
Notes
- The BFF uses platform-auth-service local credentials and the cs-transacion-manage product code while keeping ledger profiles local.
- ADMIN bypasses subscription limits; USER capabilities are derived from FREE, PRO or BUSINESS tiers.
- The local stack starts the shared package watcher, then API and web processes.
Source references
cs-transacion-manage/package.jsoncs-transacion-manage/apps/api/package.jsoncs-transacion-manage/apps/web/package.jsoncs-transacion-manage/packages/shared/package.json