Skip to content

pooranjoyb/order-stream

Repository files navigation

Order Stream

Comprehensive order processing microservices system built with Spring Boot, PostgreSQL, and RabbitMQ. Designed with clean architecture and event-driven processing using message queues.


Prerequisites

Make sure you have the following installed:

  • Java 21 (LTS)
  • Apache Maven 3.9+
  • Docker & Docker Compose

Architecture

Architecture of this project can be viewed here


Getting Started

1. Clone the Repository

git clone https://github.com/pooranjoyb/order-stream.git
cd order-stream

2. Start Infrastructure

This project depends on services like PostgreSQL and RabbitMQ.

docker-compose up -d

Ensure all containers are running before proceeding.


3. Build the Project

mvn clean install

4. Run the Microservices

Product Service

cd product.service
mvn spring-boot:run

Order Service

cd order.service
mvn spring-boot:run

GraphQL Gateway

cd graphql.gateway
mvn spring-boot:run

API Documentation

Swagger UI can be accessed at:

http://localhost:8080/swagger-ui/index.html#

Notes

  • Always start Docker services before building or running the app
  • Run services in separate terminals for better debugging

Contributing

Hope you'll have a great learning experience from this project. Happy contributing!

About

WIP - Comprehensive order processing microservices based system made with spring-boot & rabbitmq pipeline.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages