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.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
import { RealtimeService } from './realtime.service';
import { Global, Module } from '@nestjs/common';
/**
* Global so every migrated module can inject RealtimeService without
* re-importing (same rationale as DatabaseModule). The service stays
* stateless and dependency-free so the no-Nest test harnesses can build it
* with a bare `new`.
*
* The transport itself lives in RealtimeGatewayModule, which AppModule imports
* directly. It cannot live here: this module is @Global, so a gateway would
* follow into every hand-assembled TestingModule and make Nest look for a
* websocket adapter none of them set.
*/
@Global()
@Module({
providers: [RealtimeService],
exports: [RealtimeService],
})
export class RealtimeModule {}