@microservice-stack/nest-application
TypeScript icon, indicating that this package has built-in type declarations

0.1.56 • Public • Published

Application

This library streamlines the nest service start configuration by providing default nest configuration including

  • Fastify framework instead of Express because of its superior performance
  • Winston logger formatted to raw JSON, so your service logs can easily be connected to services such as Datadog
  • Enabled global Validation pipe for the use of class validator decorators
  • Enabled cors
import { AppModule } from './app.module';
import { startService } from '@microservice-stack/nest-application';

async function bootstrap(): Promise<void> {
  await startService('Service Name', AppModule);
}

bootstrap();

Readme

Keywords

none

Package Sidebar

Install

npm i @microservice-stack/nest-application

Weekly Downloads

8

Version

0.1.56

License

none

Unpacked Size

3.62 kB

Total Files

8

Last publish

Collaborators

  • lukafurlan