Skip to content

microservice-baseline

A typical simple baseline for building good microservices

Field Value
GitHub https://github.com/Cantara/microservice-baseline
Language Java
Stars 1
Last updated 2026-03-14

README

microservice-baseline

A typical simple baseline for building good microservices

GitHub tag (latest SemVer) Build Status - Project Status: Active – The project has reached a stable, usable state and is being actively developed. Known Vulnerabilities

Documentation

  • https://wiki.cantara.no/display/architecture/Typical+micro+service+technology+stack+(java)

Quick build and verify

mvn clean install
java -jar target/microservice-baseline-0.1-SNAPSHOT.jar
wget http://localhost:8086/microservice-baseline/health
wget "http://localhost:8086/microservice-baseline/token?grant_type=client_credentials&grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -X POST "http://localhost:8086/microservice-baseline/token?grant_type=client_credentials&grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -X POST "http://localhost:8086/microservice-baseline/token?grant_type=authorization_code&code=mycode&redirect_uri=http://ocalhost:8086/microservice-baseline/oauth2&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -i -H "Authorization: Bearer AsT5OjbzRn430zqMLgV3Ia" http://localhost:8086/microservice-baseline/verify