The producer-a
microservice is responsible for producing messages to an AWS SQS queue. It is built using Node.js and NestJS.
- Docker
- Docker Compose
-
Navigate to the
producer-a
directory:cd producer-a
-
Build and start the service using Docker Compose:
docker-compose up --build
-
The service will be available at
http://localhost:3016
.
REVIEW THE .env.example FILE TO CHECK THE CONFIG THAT YOU NEED TO SETOP
The consumer-b
microservice is responsible for consuming messages from an AWS SQS queue. It is built using Node.js and NestJS.
- Docker
- Docker Compose
-
Navigate to the
consumer-b
directory:cd consumer-b
-
Build and start the service using Docker Compose:
docker-compose up --build
-
The service will be available at
http://localhost:3017
.
REVIEW THE .env.example FILE TO CHECK THE CONFIG THAT YOU NEED TO SETUP
version: '3.7'
services:
service-b:
build: .
ports:
- "3017:3017"