Comprehensive order processing microservices system built with Spring Boot, PostgreSQL, and RabbitMQ. Designed with clean architecture and event-driven processing using message queues.
Make sure you have the following installed:
- Java 21 (LTS)
- Apache Maven 3.9+
- Docker & Docker Compose
Architecture of this project can be viewed here
git clone https://github.com/pooranjoyb/order-stream.git
cd order-streamThis project depends on services like PostgreSQL and RabbitMQ.
docker-compose up -dEnsure all containers are running before proceeding.
mvn clean installcd product.service
mvn spring-boot:runcd order.service
mvn spring-boot:runcd graphql.gateway
mvn spring-boot:runSwagger UI can be accessed at:
http://localhost:8080/swagger-ui/index.html#
- Always start Docker services before building or running the app
- Run services in separate terminals for better debugging
Hope you'll have a great learning experience from this project. Happy contributing!