/in1062_projeto_ral4

Primary LanguageJavaThe UnlicenseUnlicense

Sock Shop with CQRS : A Microservice Demo Application to IN1062 Class Project

The application is the user-facing part of an online shop that sells socks. It is intended to aid the demonstration and testing of microservice and cloud native technologies.

It is built using Spring Boot, Go kit and Node.js and is packaged in Docker containers.

You can read more about the application design.

Deployment Platforms

The deploy folder contains scripts and instructions to provision the application onto your docker platform.

To Deploy It

git clone https://github.com/microservices-demo/microservices-demo cd microservices-demo

git clone https://github.com/milktank/in1062_projeto_ral4

cd orders
mvn -DskipTests package
mv target/orders.jar docker/orders/
docker build -t orders:1.0 docker/orders/

cd sqlrepo
mvn -DskipTests package
mv target/sqlrepo.jar docker/sqlrepo/
docker build -t sqlrepo:1.0 docker/sqlrepo/

cd queue-db
mvn -DskipTests package
mv target/queue-db.jar docker/queue-db/
docker build -t queue-db:1.0 docker/queue-db/

Move docker-compose.yml to [microservices-demo_path]/deploy/docker-compose/