/microservices-v4

Microservices developed with NestJS deployed into Kubernetes and controlled using Istio

Primary LanguageTypeScript

microservices-v4

This workspace has been generated by Nx, a Smart, fast and extensible build system.

Requirements

To run this example you'll need following:

  • Docker
  • A local Kubernetes cluster running (Minikube for example)
  • Istio
  • Tilt

Setup

In the root directory execute

yarn install
istioctl install — set profile=demo -y # Install Istio into the cluster with the demo configuration profile
kubectl label namespace default istio-injection=enabled # Enable Envoy sidecar proxies

Run

You can deploy/manage all the resources with tilt

tilt up

To delete all the resources created use:

tilt down

The aim of this repository is to provide a base project for the development of microservices with NestJS

Understand this workspace

Run nx graph to see a diagram of the dependencies of the projects.

Remote caching

Run npx nx connect-to-nx-cloud to enable remote caching and make CI faster.

Further help

Visit the Nx Documentation to learn more.