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.
See main documentation page for instructions.
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
}
The Universal Permissive License (UPL), Version 1.0