33800292aa
- apps/api/Dockerfile: build NestJS, run prisma migrate deploy on start - apps/web/Dockerfile + nginx.conf: build Vite, serve static, proxy /api -> api - docker-compose.coolify.yml: full prod stack (postgres, redis, minio, keycloak, api, web) - .dockerignore / .gitignore / .gitattributes Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "api",
|
|
"version": "0.1.0",
|
|
"prisma": {
|
|
"seed": "ts-node prisma/seed.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"dev": "nest start --watch",
|
|
"start": "node dist/main",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:studio": "prisma studio",
|
|
"prisma:seed": "ts-node prisma/seed.ts",
|
|
"docx:stubs": "ts-node scripts/generate-docx-stubs.ts",
|
|
"testdb:run": "ts-node scripts/test-db.ts run",
|
|
"testdb:verify": "ts-node scripts/verify-functionality.ts",
|
|
"testdb:drop": "ts-node scripts/test-db.ts drop"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/axios": "^3.0.2",
|
|
"@nestjs/bull": "^10.1.1",
|
|
"@nestjs/common": "^10.3.0",
|
|
"@nestjs/config": "^3.2.0",
|
|
"@nestjs/core": "^10.3.0",
|
|
"@nestjs/jwt": "^10.2.0",
|
|
"@nestjs/passport": "^10.0.3",
|
|
"@nestjs/platform-fastify": "^10.3.0",
|
|
"@nestjs/throttler": "^5.1.1",
|
|
"@prisma/client": "^5.11.0",
|
|
"argon2": "^0.40.1",
|
|
"axios": "^1.6.8",
|
|
"bull": "^4.12.2",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"docx": "^9.6.1",
|
|
"docxtemplater": "^3.47.0",
|
|
"exceljs": "^4.4.0",
|
|
"jwks-rsa": "^3.2.2",
|
|
"minio": "^8.0.0",
|
|
"nestjs-i18n": "^10.4.5",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"pizzip": "^3.1.4",
|
|
"reflect-metadata": "^0.2.1",
|
|
"rxjs": "^7.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.3.2",
|
|
"@nestjs/schematics": "^10.1.1",
|
|
"@types/node": "^20.11.0",
|
|
"@types/passport-jwt": "^4.0.1",
|
|
"prisma": "^5.11.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.2"
|
|
}
|
|
}
|