Next.js + NestJS + Prisma (MySQL) monorepo replacing the legacy PHP internal app. Includes a session-based auth module with Argon2 password hashing and global input validation (replacing the old app's SQL injection and plaintext password comparison), the full target Prisma schema for customers/insurance/utilities/shared ledger/bank register, Docker Compose + Dockerfiles, and an Access-to-staging migration pipeline (migration/) already run against the real source databases. See PLAN.md and RESUME.md for the full architecture and session history.
22 lines
509 B
JSON
22 lines
509 B
JSON
{
|
|
"name": "@jorgecuadros/database",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"main": "generated/client/index.js",
|
|
"types": "generated/client/index.d.ts",
|
|
"scripts": {
|
|
"generate": "prisma generate",
|
|
"migrate:dev": "prisma migrate dev",
|
|
"migrate:deploy": "prisma migrate deploy",
|
|
"studio": "prisma studio",
|
|
"validate": "prisma validate",
|
|
"format": "prisma format"
|
|
},
|
|
"dependencies": {
|
|
"@prisma/client": "^5.20.0"
|
|
},
|
|
"devDependencies": {
|
|
"prisma": "^5.20.0"
|
|
}
|
|
}
|