There is something i don't understand in the NestJS documentation (https://docs.nestjs.com/microservices/redis), at the beginning it says to create a micro service, but it mean to instantiate 2 servers an Express or Fastify one or whatever, and a micro service for Redis ?
How am i supposed to do from their ?
async function bootstrap() {
const app = await NestFactory.create<NestFastifyApplication>(
AppModule,
new FastifyAdapter()
);
await app.listen(3000, '0.0.0.0');
}
bootstrap();
I'm stuck since few hours on that
Documentation | NestJS - A progressive Node.js framework
Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reactive Programming).