Implement expense tracking foundation for v1

This commit is contained in:
2026-03-23 12:32:36 -04:00
parent 5d7e25c015
commit 905af75cd8
39 changed files with 9923 additions and 9 deletions

View File

@@ -1,21 +1,21 @@
## 1. Project setup
- [ ] 1.1 Scaffold the `Next.js` app with TypeScript, linting, and baseline project configuration.
- [ ] 1.2 Add runtime dependencies for Prisma, SQLite, validation, charts, and `OpenAI` integration.
- [ ] 1.3 Add development dependencies and scripts for testing, Prisma generation, and local development.
- [ ] 1.4 Add base environment and ignore-file setup for local database and API key configuration.
- [x] 1.1 Scaffold the `Next.js` app with TypeScript, linting, and baseline project configuration.
- [x] 1.2 Add runtime dependencies for Prisma, SQLite, validation, charts, and `OpenAI` integration.
- [x] 1.3 Add development dependencies and scripts for testing, Prisma generation, and local development.
- [x] 1.4 Add base environment and ignore-file setup for local database and API key configuration.
## 2. Persistence and shared services
- [ ] 2.1 Define Prisma models for `Expense`, `Paycheck`, and `MonthlyInsight` and create the initial SQLite migration.
- [ ] 2.2 Implement shared validation schemas for expenses, paychecks, and month query parameters.
- [ ] 2.3 Implement shared money and local-date utilities for month boundary calculations.
- [x] 2.1 Define Prisma models for `Expense`, `Paycheck`, and `MonthlyInsight` and create the initial SQLite migration.
- [x] 2.2 Implement shared validation schemas for expenses, paychecks, and month query parameters.
- [x] 2.3 Implement shared money and local-date utilities for month boundary calculations.
## 3. Expense and paycheck workflows
- [ ] 3.1 Implement expense API routes for create, list, and delete operations.
- [x] 3.1 Implement expense API routes for create, list, and delete operations.
- [ ] 3.2 Implement paycheck API routes for create, list, and delete operations.
- [ ] 3.3 Build the `Add Expense` view with form submission, validation feedback, and expense listing.
- [x] 3.3 Build the `Add Expense` view with form submission, validation feedback, and expense listing.
- [ ] 3.4 Build the `Income/Paychecks` view with form submission, validation feedback, and paycheck listing.
## 4. Dashboard and insights