mirror of
https://github.com/acedanger/finance.git
synced 2025-12-06 07:00:13 -08:00
- 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.
17 lines
537 B
JSON
17 lines
537 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017", // Or newer
|
|
"module": "CommonJS",
|
|
"outDir": "./dist",
|
|
"rootDir": "src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "node",
|
|
"sourceMap": true, // Helpful for debugging
|
|
"resolveJsonModule": true // Allows importing JSON files
|
|
},
|
|
"include": ["src/**/*"], // Only compile files in src
|
|
"exclude": ["node_modules", "**/*.spec.ts"] // Exclude tests if you have them
|
|
} |