A challenge project :)
challenge-core
Model and repository classes used by other modules.
sales-service
RESTFul API that receive orders by the sales-app and send to dispatcher via RabbitMQ.
dispatcher-service
Fetch orders from RabbitMQ and update their status.
sales-app
Simple checkout app that allow users to make some orders. Developed following this prototype.
Services are running with docker-compose, except MongoDB and RabbitMQ.
Run mvn clean install
to build the project and create docker images for the services. (Need Java 11 instaled)
Run docker-compose up -d
to start containers
sales-service -> localhost:8080
dispatcher-service -> localhost:8081
sales-app -> http://localhost:3000
MongoDB running on MLab
RabbitMQ running on AWS -> http://18.223.6.189:15672
user: admin
password: adm777
Messages are processed every 30 seconds.