- Add unit tests for all core services (identity, intake, finance, dataroom) - Create integration test framework with shared setup utilities - Add E2E test suite for complete user workflows - Add test utilities package (server factory) - Configure Prometheus alert rules (service health, infrastructure, database, Azure) - Add alert rules ConfigMap for Kubernetes - Update Prometheus deployment with alert rules - Fix tsconfig.json to include test files - Add tests/tsconfig.json for integration/E2E tests - Fix server-factory.ts linting issues
Finance Service
Service for payments, ledgers, rate models, and invoicing.
Features
- Double-entry ledger
- Payment processing
- Rate models
- Invoicing
- Deal milestone tracking
Development
# Install dependencies
pnpm install
# Run development server
pnpm dev
# Build
pnpm build
# Start production server
pnpm start
API Endpoints
GET /health- Health checkPOST /ledger/entry- Create ledger entryPOST /payments- Process payment
Environment Variables
PORT- Server port (default: 4003)DATABASE_URL- PostgreSQL connection stringPAYMENT_PROVIDER- Payment provider configuration