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.
This commit is contained in:
Peter Wood
2025-04-05 17:52:40 -04:00
parent 7c1cf427d1
commit d150757025
14 changed files with 2266 additions and 710 deletions

9
bank_account.http Normal file
View File

@@ -0,0 +1,9 @@
POST /api/bank-account/update/2 HTTP/1.1
Content-Type: application/json
Host: europa:3050
Content-Length: 85
{"name": "BofA Joint Checking","bankName": "Bank of America","accountNumber": "4581"}
###