phase 7: income, payday. and budget handling routes simplified and compacted
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
Reduce `api/src/server.ts` size and duplication with low-risk, incremental moves.
|
||||
|
||||
Current state (2026-03-17):
|
||||
- `server.ts` still holds most business routes, but Phases 1-5 are complete.
|
||||
- `server.ts` still holds most business routes, but Phases 1-6 are complete.
|
||||
- Completed move logs:
|
||||
- `docs/api-phase1-move-log.md`
|
||||
- `docs/api-phase2-move-log.md`
|
||||
- `docs/api-phase3-move-log.md`
|
||||
- `docs/api-phase4-move-log.md`
|
||||
- `docs/api-phase5-move-log.md`
|
||||
- `docs/api-phase6-move-log.md`
|
||||
|
||||
## Refactor Guardrails
|
||||
1. Keep route behavior identical while moving code.
|
||||
@@ -61,12 +62,12 @@ Completed:
|
||||
3. Phase 3: `variable-categories` endpoints.
|
||||
4. Phase 4: `transactions` endpoints.
|
||||
5. Phase 5: `fixed-plans` endpoints.
|
||||
6. Phase 6: `income`, `budget`, `payday` endpoints.
|
||||
|
||||
Remaining:
|
||||
1. Phase 6: `income`, `budget`, `payday` endpoints.
|
||||
2. Phase 7: `dashboard` + `crisis-status`.
|
||||
3. Phase 8: `admin` + site access endpoints.
|
||||
4. Phase 9: final cleanup and helper consolidation.
|
||||
1. Phase 7: `dashboard` + `crisis-status`.
|
||||
2. Phase 8: `admin` + site access endpoints.
|
||||
3. Phase 9: final cleanup and helper consolidation.
|
||||
|
||||
## Remaining Plan (Detailed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user