Skip to content

feat: scaffold NestJS monorepo with Prisma and global modules #1

Description

@Ali7040

Set up the base NestJS application with:

  • PrismaModule (global, singleton PrismaService)
  • RedisModule (global, singleton ioredis client via REDIS_CLIENT injection token)
  • ConfigModule (global, .env loaded via @nestjs/config)
  • ThrottlerModule backed by Redis (100 req/min for free tier)
  • ValidationPipe globally with whitelist: true
  • main.ts with CORS configured via WEB_URL env var

Acceptance criteria:

  • pnpm dev starts the API on :3000
  • GET / returns { status: 'ok', version: '0.1.0' }
  • Redis and Postgres connections are validated on startup

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions