A REST microservice exposing the API of a product catalog, based on the e-commerce domain model.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
AUTHORS
CONTRIBUTORS
Dockerfile
Procfile
README.md
app.json
pom.xml

README.md

Catalog micro-service sample

Build status

A micro-service project demonstrating REST features of SeedStack: JAX-RS integration, hypermedia and JSON-home.

Running it

Locally

If you have Maven 3 installed, you can clone the repository and run it locally:

mvn seedstack:run

With docker

With Docker, first build the image:

docker build -t micro-cata-v1.0 .

Then start a container:

docker run -d -p 8080:8080 micro-cata-v1.0

On Heroku

Or you can just deploy it on your own Heroku account by clicking this button:

Deploy

Usage

Discover all application entry points as a JSON-HOME resource on the following URL:

curl http://localhost:8080/

Then follow the links to HAL resources.

Copyright and license

This source code is copyrighted by The SeedStack Authors and released under the terms of the Mozilla Public License 2.0.