Go to file
google-labs-jules[bot] 3811dc7ee5 Refactor: Polish backend based on review
I reviewed the backend codebase covering schema, API endpoints, error handling, and tests.

Key changes I implemented:
- Updated `app/models.py`:
    - Added `parent_expense_id` and `last_occurrence` fields to the `Expense` model to align with the `add_recurring_expenses.py` migration.
    - Added `parent_expense` and `child_expenses` self-referential relationships to the `Expense` model.
- Updated `app/core/exceptions.py`:
    - Removed the unused and improperly defined `BalanceCalculationError` class.

I identified areas for future work:
- Create a new Alembic migration if necessary to ensure `parent_expense_id` and `last_occurrence` columns are correctly reflected in the database, or verify the existing `add_recurring_expenses.py` migration's status.
- Significantly improve API test coverage, particularly for:
    - Chores module (personal and group)
    - Groups, Invites, Lists, Items, OCR endpoints
    - Full CRUD operations for Expenses and Settlements
    - Recurring expense functionalities.
2025-06-01 14:26:36 +02:00
.cursor/rules feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
.gitea/workflows feat: Update deployment workflow and enhance ListDetailPage functionality 2025-05-31 14:08:40 +02:00
be Refactor: Polish backend based on review 2025-06-01 14:26:36 +02:00
docs feat: Implement recurring expenses feature with scheduling and management 2025-05-22 16:37:14 +02:00
fe feat: Integrate Storybook for component development 2025-06-01 14:26:36 +02:00
docker-compose.prod.yml feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00
docker-compose.yml feat: Implement chore management feature with personal and group chores 2025-05-21 18:18:22 +02:00
env.production.template feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00
mitlist_doc.md feat: Implement recurring expenses feature with scheduling and management 2025-05-22 16:37:14 +02:00
notes.md feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
PRODUCTION.md feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00