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.

983 B
Raw Blame
import { AddonsModule } from '../addons/addons.module';
import { KitineraryExtractorModule } from '../booking-import/kitinerary-extractor.module';
import { MaintenanceModule } from '../database/maintenance.module';
import { FeaturesController } from './features.controller';
import { ReadinessService } from './readiness.service';
import { Module } from '@nestjs/common';

/** Server capability reporting. `GET /api/health/features` tells the client which
 *  optional server-side features are usable, so it can hide the affordances it
 *  cannot back. `GET /api/health` is the container probe — the forced-HTTPS
 *  redirect and HSTS exempt it by path inside globalMiddleware, so it answers
 *  plain-HTTP probes no matter where the route itself is registered. */
@Module({
  imports: [KitineraryExtractorModule, AddonsModule, MaintenanceModule],
  controllers: [FeaturesController],
  providers: [ReadinessService],
  exports: [ReadinessService],
})
export class HealthModule {}