brief-08-back/src/drizzle/drizzle.module.ts
Mathis e575b669ce
feat: add Drizzle module and service
Implement Drizzle service and integration in the project. A new Drizzle module was added to the nest app. The Drizzle service also includes configuration for postgres database and management of migration client. An adjustment was also made to tsconfig.json to enable ES module interoperation.
2024-07-09 14:08:03 +02:00

11 lines
270 B
TypeScript

import { Module } from '@nestjs/common';
import { DrizzleService } from './drizzle.service';
import { ConfigModule } from "@nestjs/config";
@Module({
imports: [ConfigModule],
providers: [DrizzleService],
exports: [DrizzleService]
})
export class DrizzleModule {}