Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.31 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.31 KB

catalog-core

This module contains the bulk of the Product Catalog service implementation, including the domain model, REST API, as well as the data repository abstraction and its in-memory implementation.

Building the Service

See main documentation page for instructions.

Running the Service

Because this implementation uses in-memory data store, it is trivial to run.

Once you've built the Docker image per instructions above, you can simply run it by executing:

$ docker run -p 7001:7001 ghcr.io/helidon-sockshop/catalog-core

Once the container is up and running, you should be able to access service API by navigating to http://localhost:7001/catalogue/.

As a basic test, you should be able to perform an HTTP GET against /catalogue/size endpoint:

$ curl http://localhost:7001/catalogue/size

which should return JSON response

{
  "size": 9
}

License

The Universal Permissive License (UPL), Version 1.0