How jusish/receivables works
Receivables is a multi-tenant accounts-receivable and collections platform. Business users enter through the web app to manage customers, receivables, payments, collection follow-ups, reports, and settings; administrators have a separate portal for business, request, and health views. The API bootstrap wires shared infrastructure and a health module. The README describes financial and tenant-integrity capabilities, but the supplied tree exposes no domain API implementation, so those backend connections are not inferred. Page-to-API calls cannot be confirmed from the sampled source.
Main entry points: src/App.tsx Web routes · src/App.tsx Admin routes · app.module.ts Application module · main.tsx Web entry
Components 29
Business portal
- Web entry
apps/web/src/main.tsx - Web routes
apps/web/src/App.tsx - Dashboard
apps/web/src/features/dashboard/DashboardPage.tsx - Customers
apps/web/src/features/customers/CustomersPage.tsx - Receivables
apps/web/src/features/receivables/ReceivablesPage.tsx - Payments
apps/web/src/features/payments/PaymentsPage.tsx - Collections
apps/web/src/features/collections/CollectionsPage.tsx - Reports
apps/web/src/features/reports/ReportsPage.tsx - Settings
apps/web/src/features/settings/SettingsPage.tsx - Login
apps/web/src/features/auth/LoginPage.tsx
Admin portal
- Admin entry
apps/admin/src/main.tsx - Admin routes
apps/admin/src/App.tsx - Admin dashboard
apps/admin/src/features/dashboard/AdminDashboardPage.tsx - Business administration
apps/admin/src/features/businesses/AdminBusinessesPage.tsx - Request administration
apps/admin/src/features/requests/AdminRequestsPage.tsx - Health view
apps/admin/src/features/health/AdminHealthPage.tsx
API service
- API service
apps/api/src/main.ts - Application module
apps/api/src/app.module.ts - Health module
apps/api/src/modules/health/health.module.ts - Database module
apps/api/src/common/database/database.module.ts - Prisma service
apps/api/src/common/database/prisma.service.ts - Redis module
apps/api/src/common/redis/redis.module.ts - Redis service
apps/api/src/common/redis/redis.service.ts
Shared domain
- Domain contracts
packages/types/src/index.ts - Financial utilities
packages/shared/src/index.ts
Other components
- Business user
- Administrator
- PostgreSQL
- Redis
Connections 24
- Business user → Web entry: opens
- Web entry → Web routes: renders
- Web routes → Login: routes
- Web routes → Dashboard: routes
- Web routes → Customers: routes
- Web routes → Receivables: routes
- Web routes → Payments: routes
- Web routes → Collections: routes
- Web routes → Reports: routes
- Web routes → Settings: routes
- Administrator → Admin entry: opens
- Admin entry → Admin routes: renders
- Admin routes → Admin dashboard: routes
- Admin routes → Business administration: routes
- Admin routes → Request administration: routes
- Admin routes → Health view: routes
- API service → Application module: loads
- Application module → Health module: imports
- Application module → Database module: imports
- Application module → Redis module: imports
- Database module → Prisma service: provides
- Prisma service → PostgreSQL: connects
- Redis module → Redis service: provides
- Redis service → Redis: connects