Some checks failed
CI / Lint (push) Has been cancelled
CI / TypeCheck (push) Has been cancelled
CI / Test (push) Has been cancelled
Deploy / Docker Build & Push (map[context:. dockerfile:apps/api/Dockerfile name:api]) (push) Has been cancelled
Deploy / Docker Build & Push (map[context:. dockerfile:apps/cms/Dockerfile name:cms]) (push) Has been cancelled
Deploy / Docker Build & Push (map[context:. dockerfile:apps/web/Dockerfile name:web]) (push) Has been cancelled
CI / Build (push) Has been cancelled
Deploy / Deploy (push) Has been cancelled
- Monorepo: Turborepo + pnpm workspaces with 7 apps/packages - Backend: NestJS scaffold with 9 modules (auth, tenant, curriculum, simulation, portfolio, ai-coach, analytics, classroom, gamification) - Frontend: React 18 + Vite + TailwindCSS + shadcn/ui with 10 pages, 14 UI primitives, 3 Zustand stores - Database: Prisma schema with 19 models, 13 enums, seed script, multi-tenant ready - Docker: Dev, production, and Portainer Compose files with Traefik reverse proxy - Configuration: .env.example (47 vars), Zod validation, frontend-safe env exposure - i18n: English + Greek locale files (10 files), ICU MessageFormat, react-i18next - Shared packages: @investplay/types, @investplay/ui, @investplay/i18n, @investplay/utils - CI/CD: GitHub Actions (lint, typecheck, test, build, deploy, PR checks) - Documentation: CONTEXT.md, ARCHITECTURE.md (10 Mermaid diagrams), API.md, LOCALIZATION.md, DEVELOPMENT-ROADMAP.md - Infrastructure: Dockerfiles (dev + prod), nginx configs, backup/healthcheck scripts - Security: JWT auth guards, role-based access, rate limiting, Helmet, CORS, PII sanitization
75 lines
2.2 KiB
JSON
75 lines
2.2 KiB
JSON
{
|
|
"name": "@investplay/api",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "InvestPlay NestJS API backend",
|
|
"scripts": {
|
|
"dev": "nest start --watch",
|
|
"build": "nest build",
|
|
"start:prod": "node dist/main",
|
|
"lint": "eslint \"src/**/*.ts\" --fix",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "vitest run --config ./vitest.config.e2e.ts",
|
|
"clean": "rimraf dist .turbo",
|
|
"prisma:generate": "prisma generate",
|
|
"prisma:migrate": "prisma migrate dev",
|
|
"prisma:migrate:prod": "prisma migrate deploy",
|
|
"prisma:seed": "tsx prisma/seed.ts",
|
|
"prisma:studio": "prisma studio",
|
|
"prisma:reset": "prisma migrate reset --force"
|
|
},
|
|
"dependencies": {
|
|
"@nestjs/common": "^11.0.0",
|
|
"@nestjs/core": "^11.0.0",
|
|
"@nestjs/graphql": "^13.0.0",
|
|
"@nestjs/platform-express": "^11.0.0",
|
|
"@nestjs/platform-socket.io": "^11.0.0",
|
|
"@nestjs/bullmq": "^11.0.0",
|
|
"@nestjs/apollo": "^12.0.0",
|
|
"@nestjs/event-emitter": "^2.0.0",
|
|
"@nestjs/passport": "^10.0.0",
|
|
"@nestjs/schedule": "^11.0.0",
|
|
"@nestjs/throttler": "^6.0.0",
|
|
"@prisma/client": "^6.5.0",
|
|
"graphql": "^16.10.0",
|
|
"graphql-tools": "^9.0.0",
|
|
"@apollo/server": "^4.10.0",
|
|
"apollo-server-express": "^3.13.0",
|
|
"ioredis": "^5.4.0",
|
|
"passport": "^0.7.0",
|
|
"passport-jwt": "^4.0.1",
|
|
"socket.io": "^4.8.0",
|
|
"zod": "^3.24.0",
|
|
"class-validator": "^0.14.1",
|
|
"class-transformer": "^0.5.1",
|
|
"helmet": "^8.0.0",
|
|
"cors": "^2.8.5",
|
|
"compression": "^1.7.4",
|
|
"cookie-parser": "^1.4.7",
|
|
"i18next": "^24.2.0",
|
|
"i18next-fs-backend": "^2.6.0",
|
|
"bcryptjs": "^2.4.3",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^11.0.0",
|
|
"@nestjs/schematics": "^11.0.0",
|
|
"@nestjs/testing": "^11.0.0",
|
|
"@types/bcryptjs": "^2.4.6",
|
|
"@types/passport-jwt": "^4.0.1",
|
|
"prisma": "^6.5.0",
|
|
"tsx": "^4.19.0",
|
|
"vitest": "^3.1.0",
|
|
"@types/node": "^22.14.0",
|
|
"@types/express": "^5.0.0",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/compression": "^1.7.5",
|
|
"@types/cookie-parser": "^1.4.7",
|
|
"typescript": "^5.8.0",
|
|
"rimraf": "^6.0.0"
|
|
}
|
|
}
|