BFF = Backend For Frontend, the API invoked by the HTTP calls in the client HTML page (Website UI).
This project contains the product API, which is used by a small ecommerce client application.
Here is the contract governing the interaction of the client with the product API.
The architecture diagram was created using the amazing free online SVG editor at Vectr.
- For unix platform and powerShell:
./mvnw clean install- For windows command prompt:
mvnw.cmd clean install- For unix platform and powerShell:
./mvnw spring-boot:run- For windows command prompt:
mvnw.cmd spring-boot:run- For unix platform and powerShell:
./mvnw test- For windows command prompt:
mvnw.cmd test- For unix platform and powerShell:
./mvnw spring-boot:run- For windows command prompt:
mvnw.cmd spring-boot:run- For unix platform and powerShell:
docker run --rm -v --network host "$(pwd)/specmatic.yaml:/usr/src/app/specmatic.yaml" -v "$(pwd)/build/reports/specmatic:/usr/src/app/build/reports/specmatic" specmatic/specmatic test --port=8090- For windows command prompt:
docker run --rm -v --network host "%cd%/specmatic.yaml:/usr/src/app/specmatic.yaml" -v "%cd%/build/reports/specmatic:/usr/src/app/build/reports/specmatic" specmatic/specmatic test --port=8090