Много

This commit is contained in:
2024-09-12 00:39:01 +04:00
parent 6b07bd89b8
commit 8fb9214246
24 changed files with 643 additions and 194 deletions

View File

@@ -2,9 +2,15 @@ import { Module } from "@nestjs/common";
import { AuthModule } from "./auth/auth.module";
import { UsersModule } from "./users/users.module";
import { ScheduleModule } from "./schedule/schedule.module";
import { CacheModule } from "@nestjs/cache-manager";
@Module({
imports: [AuthModule, UsersModule, ScheduleModule],
imports: [
AuthModule,
UsersModule,
ScheduleModule,
CacheModule.register({ ttl: 5 * 60 * 1000, isGlobal: true }),
],
controllers: [],
providers: [],
})