0.1.1 • Published 1 year ago
nestjs-platform-restana v0.1.1
nestjs-platform-restana WIP
Nest.js adapter for restana
Install
npm i nestjs-platform-restana
yarn add nestjs-platform-restana
pnpm i nestjs-platform-restana
Usage:
import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'
import { RestanaHttpAdapter,NestRestanaApplication } from 'nestjs-platform-restana'
async function bootstrap() {
const app = await NestFactory.create<NestRestanaApplication>(AppModule, new RestanaHttpAdapter())
await app.listen(3000)
}
bootstrap()