2026-04-14-8 auth and commercial

This commit is contained in:
Hamza-Ayed
2026-04-14 20:14:48 +03:00
parent be7dcc2652
commit f5b3f9f790
430 changed files with 6074 additions and 751 deletions
+7 -1
View File
@@ -5,6 +5,8 @@ import { ScheduleModule } from '@nestjs/schedule';
import { TelemetryModule } from './telemetry/telemetry.module';
import { MapsModule } from './maps/maps.module';
import { GeocodingModule } from './geocoding/geocoding.module';
import { AuthModule } from './auth/auth.module';
import { ThrottlerModule } from '@nestjs/throttler';
@Module({
imports: [
@@ -20,9 +22,13 @@ import { GeocodingModule } from './geocoding/geocoding.module';
url: config.get('DATABASE_URL'),
autoLoadEntities: true,
synchronize: true, // Only for prototype! Use migrations for production.
// synchronize: true, // للمعاينة فقط؛ يفضل استخدام migrations للإنتاج
}),
}),
ThrottlerModule.forRoot([{
ttl: 60,
limit: 10, // Default fallback limit
}]),
AuthModule,
TelemetryModule,
MapsModule,
GeocodingModule,