feat: Implement menu item and category management with Redis caching for restaurant data.
This commit is contained in:
@@ -2,9 +2,10 @@ 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],
|
||||
imports: [PrismaModule, CacheModule],
|
||||
providers: [RestaurantService],
|
||||
controllers: [RestaurantController],
|
||||
exports: [RestaurantService],
|
||||
|
||||
Reference in New Issue
Block a user