Skip to content

Client gateway that receives HTTP requests and then it routes them to the corresponding microservices.

Notifications You must be signed in to change notification settings

nestjs-public-microservices/client-gateway

Repository files navigation

Cliente Gateway

El gateway es el punto de comunicación entre nuestros clientes y nuestros servicios. Es el encargado de recibir las peticiones, enviarlas a los servicios correspondientes y devolver la respuesta al cliente.

Dev

  1. Clonar el repositorio
  2. Instalar dependencias
  3. Crear un archivo .env basado en el env.template
  4. Levantar el servidor de NATS
docker run -d --name nats-server -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
  1. Tener levantados los microservicios que se van a consumir
  2. Levantar proyecto con npm run start:dev

Nats

docker run -d --name nats-server -p 4222:4222 -p 6222:6222 -p 8222:8222 nats

Go to http://localhost:8222/

About

Client gateway that receives HTTP requests and then it routes them to the corresponding microservices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published