Skip to main content
NestJS

Type-safe support for your NestJS application

A NestJS module with TypeORM entities, injectable services, and decorator-based configuration. Full TypeScript type safety from controller to repository.

Terminal
$ npm install @escalated-dev/escalated-nestjs

Neden Escalated

Why Escalated for NestJS

Built for the NestJS module system — DI, decorators, and TypeORM as first-class citizens.

Module-First Design

`EscalatedModule.forRoot({ ... })` imports like any other NestJS module. Swap dependencies via useClass/useFactory — standard DI the whole team already knows.

TypeORM Native

Tickets, replies, and SLAs are real TypeORM entities. Use Repositories, QueryBuilders, and migrations the same way you do for the rest of your domain.

End-to-End Typed

Every controller, service, and DTO is fully typed. Plays nicely with nestjs/graphql, class-validator, and the rest of the ecosystem — no `any` escape hatches.

Başlarken

Nasıl Çalışır

Sıfırdan çalışan bir yardım masasına üç adım.

1

Install the Package

npm install @escalated-dev/escalated-nestjs

2

Import the Module

EscalatedModule.forRoot({ ... })

3

Run Migrations

TypeORM migrations ship in the package. Apply with `typeorm migration:run` against Postgres, MySQL, or SQLite — the support surface is live at /support.

Özellikler

NestJS-Native Features

Every integration point designed for idiomatic NestJS patterns.

Injectable Services

Every service is `@Injectable()` and exported from the module. Inject `TicketService`, `ReplyService`, and friends anywhere in your app's DI graph.

Guards & Interceptors

Routes respect the Guards, Interceptors, and Pipes you configure. Plug `AuthGuard`, rate limiters, or telemetry with no special integration.

TypeORM Migrations

Schema ships as TypeORM migrations. Works with Postgres, MySQL, and SQLite — or swap in a custom data source for specialised setups.

Event Emitter

Ticket lifecycle fires through `@nestjs/event-emitter`. Subscribe with `@OnEvent('ticket.created')` and compose any downstream behaviour you need.

Swagger-Ready

All controllers and DTOs include `@ApiProperty` decorators. Point `@nestjs/swagger` at the module and get a full OpenAPI spec out of the box.

E2E Testing

First-class support for the NestJS Test harness. Instantiate the module, inject services, and assert across the full stack in your Jest suites.

Kod

Idiomatic NestJS

One module import. The rest is standard dependency injection.

app.module.ts
// app.module.ts
import { Module } from '@nestjs/common';
import { EscalatedModule } from '@escalated-dev/escalated-nestjs';

@Module({
  imports: [
    EscalatedModule.forRoot({
      database: { type: 'postgres' },
      auth: { strategy: 'jwt' },
    }),
  ],
})
export class AppModule {}

Ready to add support tickets to your NestJS service?

Install the package, import the module, and run migrations. Open source, self-hosted, and built for the NestJS ecosystem.