Stage 5: Add Prisma integration and enhance mission management

- Introduced Prisma as a dependency in package.json and updated pnpm-lock.yaml.
- Created Prisma module and service for database interactions.
- Added initial Prisma schema and migration for user, survivor, mission, and related entities.
- Implemented throttling in the API using @nestjs/throttler for rate limiting.
- Enhanced mission management logic to utilize Prisma for database transactions.
- Updated missions controller and service to handle mission state and participant management.
- Added Twitch PubSub service for real-time updates on mission states.
This commit is contained in:
Maurycy
2026-05-07 15:42:52 +00:00
parent e8523d270e
commit 21f1a5319f
22 changed files with 1676 additions and 96 deletions

View File

@@ -1,21 +1,25 @@
allowBuilds:
'@nestjs/core': true
'@parcel/watcher': true
'@prisma/engines': true
'@swc/core': true
esbuild: true
less: true
lmdb: true
msgpackr-extract: true
nx: true
prisma: true
unrs-resolver: true
autoInstallPeers: true
onlyBuiltDependencies:
- '@nestjs/core'
- '@parcel/watcher'
- '@prisma/engines'
- '@swc/core'
- esbuild
- less
- lmdb
- msgpackr-extract
- nx
- prisma
- unrs-resolver