Hybrid Application

It's possible to connect infinite count of microservices to your existing Nest web application. Example:

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

app.startAllMicroservices(() => console.log('All microservices are listening...'));
app.listen(port, () => console.log('Application listen on port:', port));

results matching ""

    No results matching ""