This project demonstrates a microservices architecture using Node.js and Docker Compose. The application consists of multiple services that work together to achieve a specific functionality.
- Docker installed on your machine: Docker Installation Guide
- Docker Compose installed on your machine: Docker Compose Installation Guide
- Node.js installed on your machine: Node.js Installation Guide
- This application is depend on kafka server so we have to configure the kafka service.
- clone
Kafkadrop
:git clone https://github.com/obsidiandynamics/kafdrop.git
cd docker-compose/kafka-kafdrop
docker-compose up
- clone
-
Clone the repository:
git clone https://github.com/sonukumar16/nestjs-kafka-microservices
-
Navigate to the project directory:
cd your-repository
-
Build and start the services using Docker Compose:
docker-compose up --build
This command will download the necessary images, build the services, and start the containers.
-
Access the application:
- API Gateway: http://localhost:3000
- Description: API gateway description.
- Endpoint: http://localhost:3000
- Modify the environment variables in the
.env
file to customize the application settings. - Note: In this application no
.env
fiel need to be configured.
- Add development-specific instructions here.
- Include common issues and their solutions.
- If you'd like to contribute, please follow our Contribution Guidelines.
This project is licensed under the MIT License.
- Sample curls are defined in
.api-curls.txt
file