Skip to content

sergiocostaN26/price-retriever-hexagonal

Repository files navigation

price-retriever-hexagonal

The purpose of this project is to build a demo service using domain-driven design and hexagonal architecture. The topic turns around prices linked to timeframes and the query of them.

Prerequisites

  • Java 17
  • Docker

Installation

  1. Clone the repository
    git clone [email protected]:sergiocmgit/price-retriever-hexagonal.git
  2. Build the image
    ./gradlew build
  3. Build the docker image
    docker build -t price-retriever-hexagonal .
  4. Run the application
    docker run -p 8080:8080 price-retriever-hexagonal
  5. Call the endpoint
    curl -X GET "http://localhost:8080/api/prices?productId=35455&brandId=1&appliedAt=2020-06-14T10%3A00%3A00Z"

Documentation

Check the documentation when the application is running by accessing the following:

Releases

No releases published

Packages

No packages published