Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

835 B
Raw Blame
import { AppConfigModule } from '../app-config/app-config.module';
import { RateLimitModule } from '../common/rate-limit.module';
import { ServiceIdentityModule } from '../service-identity/service-identity.module';
import { RoutingRelayController } from './routing-relay.controller';
import { RoutingRelayService } from './routing-relay.service';
import { Module } from '@nestjs/common';

/**
 * The TREK services' Valhalla behind this server: the planner in the browser
 * asks it through the controller, the road trip router on the server through
 * the exported service, both under the same limits.
 */
@Module({
  imports: [AppConfigModule, RateLimitModule, ServiceIdentityModule],
  controllers: [RoutingRelayController],
  providers: [RoutingRelayService],
  exports: [RoutingRelayService],
})
export class RoutingRelayModule {}