catalog-microservice-sample

by seedstack

GitHub 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.