Commit Graph

72 Commits

Author SHA1 Message Date
GitHub Copilot
f67980a35e chore: update TODOs for various components and files to enhance validation, UI/UX, security, state management, performance, and testing improvements 2025-04-24 11:36:59 -04:00
GitHub Copilot
c424691658 refactor: improve account validation in transaction updates and enhance test setup with mock API context 2025-04-24 11:23:14 -04:00
GitHub Copilot
96093200f5 fix: account balance calculation when moving transactions between accounts
- Fixed balance calculation logic in transaction update endpoint
- Added comprehensive test coverage for all error paths
- Added coverage/ directory to .gitignore
- Achieved 100% test coverage across all files
2025-04-24 09:24:00 -04:00
GitHub Copilot
99b70b519b feat(tests): add unit tests for accounts and transactions APIs
- Updated package.json to include Vitest for testing and added necessary devDependencies.
- Created accounts.test.ts to test the accounts API endpoints for listing and retrieving accounts.
- Implemented setup.ts to reset test data before each test run.
- Developed transactions.test.ts to cover creating, updating, and deleting transactions through the API.
- Added vitest.config.ts for configuring Vitest with appropriate settings and coverage options.
2025-04-24 08:52:48 -04:00
GitHub Copilot
bb6bd75434 Refactor index.astro to improve type safety, enhance UI update functions, and streamline event handling for transactions 2025-04-24 08:37:47 -04:00
GitHub Copilot
b76a24edba #1 Enhance transaction management UI with form validation, loading states, and improved error handling 2025-04-24 08:19:41 -04:00
GitHub Copilot
7c9bc51a9c Refactor transaction API to improve ID handling and error responses 2025-04-24 07:38:00 -04:00
GitHub Copilot
ec8cf05a54 Implement all API endpoints with error handling and validation 2025-04-24 07:31:47 -04:00
GitHub Copilot
78ebf1ae32 Remove unused files and implement API routes for account and transaction management 2025-04-24 07:27:05 -04:00
GitHub Copilot
ae6886bf92 Refactor code style for consistency in store and API route files 2025-04-23 21:39:50 -04:00
GitHub Copilot
dfc4e23601 #1 Update documentation to reflect API implementation progress 2025-04-23 21:38:13 -04:00
GitHub Copilot
98b29ff58b #1 Update index.astro to fetch accounts from API endpoint 2025-04-23 21:33:53 -04:00
GitHub Copilot
c0ac85ee7c #1 Implement GET /api/accounts endpoint 2025-04-23 21:29:41 -04:00
GitHub Copilot
070f472546 #1 Add temporary data store for development 2025-04-23 21:29:09 -04:00
GitHub Copilot
bac8047dc7 #1 Add initial API route structure for accounts and transactions 2025-04-23 21:28:41 -04:00
Peter Wood
b993cb89b2 Update Copilot instructions to reflect in-memory data usage and remove references to static JSON files 2025-04-23 21:02:54 -04:00
Peter Wood
20f3ec4acc Remove accounts and transactions data files 2025-04-23 20:58:33 -04:00
Peter Wood
0060013561 Initial commit - Basic bank transactions dashboard structure with Astro and TypeScript 2025-04-23 20:57:42 -04:00
houston[bot]
b2dae7e868 Initial commit from Astro 2025-04-23 20:18:17 -04:00
Peter Wood
58e8dbc43c feat: update .gitignore and add reset environment script 2025-04-07 19:49:27 -04:00
Peter Wood
d150757025 feat: initialize finance project with Fastify, Prisma, and Zod
- Added package.json with necessary dependencies and scripts for development and production.
- Created Prisma schema for BankAccount model with fields: id, name, bankName, accountNumber, createdAt, and updatedAt.
- Implemented Fastify server with CRUD operations for bank accounts, including validation using Zod.
- Added graceful shutdown handling for server and Prisma client.
2025-04-05 17:52:40 -04:00
Peter Wood
7c1cf427d1 first commit 2025-04-05 10:44:18 -04:00