stable: finalized GIS aesthetics and Syria/Jordan routing synchronization

This commit is contained in:
Hamza-Ayed
2026-03-28 04:12:01 +03:00
parent d6f3b41b53
commit 592af8ce5c
203 changed files with 9711 additions and 119 deletions
+5 -3
View File
@@ -9,18 +9,20 @@ async function bootstrap() {
// تفعيل تبادل الموارد مع الواجهة الأمامية
app.enableCors();
// Set global API prefix
app.setGlobalPrefix('api');
// Swagger Documentation Setup
// إعداد توثيق API (Swagger)
const config = new DocumentBuilder()
.setTitle('Jordan Map Platform API')
.setDescription('Backend API for map services, routing, and driver telemetry for Jordan')
.setVersion('1.0')
.addTag('maps')
.addTag('telemetry')
.addTag('telemetry') // Corrected line to add 'telemetry' tag
.build();
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);
SwaggerModule.setup('docs', app, document);
const port = process.env.API_PORT || 3000;
await app.listen(port);