You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor backend services to reduce technical debt
This commit addresses several areas of technical debt in the backend:
- Separated development and production dependencies into `requirements.txt` and `requirements-dev.txt`.
- Refactored the configuration in `app/config.py` to improve security and clarity.
- Simplified the CORS configuration in `main.py`.
- Introduced a `BaseService` class to handle common CRUD operations and reduce code duplication.
- Refactored `UserService`, `ExpenseService`, `GroupService`, and `AuthService` to use the `BaseService` and dependency injection.
- Updated all API routers to use dependency injection for the services.
- Updated the CI workflow to install development dependencies.
0 commit comments