- Backend: NestJS with Docker - Frontend: Next.js with Docker - Nginx configuration for reverse proxy - PostgreSQL setup - Docker compose for orchestration - Development environment configuration
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
import { PrismaService } from './prisma.service';
|
|
|
|
@Global() // makes it available everywhere without re-importing
|
|
@Module({
|
|
providers: [PrismaService],
|
|
exports: [PrismaService],
|
|
})
|
|
export class PrismaModule {} |