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.
20 lines
496 B
JSON
20 lines
496 B
JSON
{
|
|
"name": "jorgecuadros-platform",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"dev:web": "npm run dev -w apps/web",
|
|
"dev:api": "npm run start:dev -w apps/api",
|
|
"build": "npm run build -ws --if-present",
|
|
"prisma:generate": "npm run generate -w packages/database",
|
|
"prisma:migrate": "npm run migrate:dev -w packages/database",
|
|
"prisma:studio": "npm run studio -w packages/database"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|