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.
# 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
$ docker-compose up -d --build