Skip to main content

BootstrapLaboratory / Labkit

Labkit runtime packages for serious GraphQL apps

Reusable TypeScript packages for NestJS servers and React/Vite/Relay webapps: GraphQL runtime composition, auth sessions, realtime connections, database manifests, config parsing, and browser-side application adapters.

GraphQL contractsAuth sessionsRelay runtimeTypeORM manifests

Production-grade reference

See Labkit inside a full application

The reference app shows the stack assembled with NestJS, GraphQL, Relay, auth sessions, realtime subscriptions, TypeORM, and production monorepo conventions. It is the complete example, not a toy demo.

Runtime pillars

Reuse the boring hard parts

Labkit keeps repeated runtime concerns portable while the application keeps ownership of product schema, resolvers, routes, UI, persistence decisions, and deployment.

Reusable wiring

Architecture snippets that stay small

The homepage snippets show the shape. Quick Start keeps the larger copy-paste setup where it belongs.

ts
import { createServerAuthAccessTokenGraphqlModule } from "@omgjs/labkit-server-auth";
@Module({  imports: [    IdentityModule,    FeatureModule,    createServerAuthAccessTokenGraphqlModule({      imports: [IdentityModule],      accessTokenServiceToken: AccessTokenService,      configReaderToken: ConfigService,    }),  ],})export class AppModule {}

Package map

Pick the runtime concern you need

Packages are intentionally small. Install the groups your app uses and keep framework packages as application dependencies.