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
-
Clone the repository:
git clone https://github.com/sonukumar16/node-microservices-kafka-postgres
-
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:
- User Service: http://localhost:3000
- Product Service: http://localhost:3001
- Order Service: http://localhost:3002
- Description: Service 1 description.
- Endpoint: http://localhost:3000
- Description: Service 2 description.
- Endpoint: http://localhost:4000
- 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