Reused the existing web API patterns for configuration, dependency injection, and shared calculation logic in the new batch project. The approach avoided duplicating business rules and kept startup behavior consistent.
- What worked
- Sharing the calculation and data layers with the API kept the batch logic small and consistent.