非常教程

Nest参考手册

常见问题

混合应用

混合应用程序是监听HTTP请求,以及利用连接微服务的的应用INestApplication可以与无尽数量进行组合INestMicroservice,通过实例connectMicroservice()方法。

const app = await NestFactory.create(ApplicationModule);
const microservice = app.connectMicroservice({
  transport: Transport.TCP,
});

await app.startAllMicroservicesAsync();
await app.listen(3001);
Nest

Nest 是一个用于构建高效,可扩展的 Node.js 服务器端应用程序的框架

Nest目录

1.介绍
2.常见问题
3.CLI
4.方法
5.执行上下文
6.微服务
7.WEBSOCKETS
8.GRAPHQL
9.技术
10.基本内容
11.迁移指南