kevinsegal / moleculer-microservices-spike

Deployment of a number of Node.js services using the Node.js Moleculer microservices framework.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moleculer

moleculer-microservices-spike

This project is a number of microservices built in Node.js using the Moleculer microservice framework.

This deployment uses Docker containers and consists of the following components:

  • Moleculer as the microservices framework.
  • Redis as the cache layer.
  • Kafka for the messaging layer. This uses the Confluent distribution for the Docker containers.
  • MongoDB for the database layer.
  • Jaeger for the metrics and tracing.
  • Traefik for proxying and load balancing requests to the API gateway.

Build and Setup

# Install dependencies
npm install

# Start developing with REPL
npm run dev

# Start production
npm start

# Run unit tests
npm test

# Run continuous test mode
npm run ci

# Run ESLint
npm run lint

Run in Docker

$ docker-compose up -d --build

About

Deployment of a number of Node.js services using the Node.js Moleculer microservices framework.


Languages

Language:JavaScript 98.2%Language:HTML 1.4%Language:Dockerfile 0.4%