feat: upgrade to Intaleq Style v3 and enable Egypt routing demo (code only)

This commit is contained in:
Hamza-Ayed
2026-03-28 21:34:21 +03:00
parent 12a206ae85
commit 014848247d
13 changed files with 2620 additions and 724 deletions
@@ -44,15 +44,15 @@ export class GeocodingController {
return this.geocodingService.upsertPlace(placeData);
}
@Post('upsert-batch')
@ApiOperation({ summary: 'Add or Update multiple locations in bulk' })
async upsertBatch(@Body() body: { places: any[] }) {
return this.geocodingService.upsertBatch(body.places);
}
@Get('places')
@ApiOperation({ summary: 'Get recent user submitted places' })
async getPlaces(@Query('limit') limit?: number) {
return this.geocodingService.getRecentPlaces(limit);
}
@Post('migrate')
@ApiOperation({ summary: 'Migrate legacy MySQL data to PostGIS' })
async migrate() {
return this.geocodingService.migrateFromMySQL('LEGACY_DB');
}
}