Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 701 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 701 Bytes

Webshop API with distributed back-end

The API is (almost) the same as for the single-process version.

The difference is in the structure of the back-end. It is split into 3 microservices:

  • User service
  • Product service
  • Buying service

There exists also a proxy service, called webshop-service,which provides the REST endpoints and calls the above mentioned microservices in order to fulfill the requests.

Prerequisites

  • docker
  • docker-compose
  • jdk 8+

Usage

  1. Create the images:

Linux:

./mvnw package jib:dockerBuild -DskipTests

Windows:

mvnw.cmd package jib:dockerBuild -DskipTests
  1. Create and start the containers:
docker-compose up