Initial scaffold: unified customer/insurance/utilities platform

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.
This commit is contained in:
2026-07-22 01:29:56 -07:00
commit 27118f0df2
39 changed files with 10341 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
{
"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"
}
}