14 lines
466 B
TypeScript
14 lines
466 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { RestaurantService } from './restaurant.service';
|
|
import { RestaurantController } from './restaurant.controller';
|
|
import { PrismaModule } from 'src/prisma/prisma.module';
|
|
import { CacheModule } from 'src/cache/cache.module';
|
|
|
|
@Module({
|
|
imports: [PrismaModule, CacheModule],
|
|
providers: [RestaurantService],
|
|
controllers: [RestaurantController],
|
|
exports: [RestaurantService],
|
|
})
|
|
export class RestaurantModule {}
|