Use Cases
Purpose
Section titled “Purpose”Use cases orchestrate domain entities, repositories, and services while keeping controllers thin.
Main groups
Section titled “Main groups”- User: register/login/google login.
- Wallet: CRUD + membership changes.
- Category: CRUD.
- Transaction: CRUD + OCR + voice command.
- Budget: CRUD + sharing + invite response.
- Dashboard: analytics aggregation services.
Cross-module reuse
Section titled “Cross-module reuse”TransactionCreatorPort points to AddTransactionImpl, so AI flows create transactions through the same guarded path as manual API creation.
Internal snippet
Section titled “Internal snippet”container .bind<TransactionCreatorPort>(TYPES.TransactionCreatorPort) .toService(TYPES.AddTransactionImpl);Source: backend/src/Containers/inversify.config.ts.