/lagom-example

Example usage of the Lagom Framework for writing Java-based microservices

Primary LanguageJavaApache License 2.0Apache-2.0

Build Status

This repository contains the source code for an example blog microservice using the Lagom framework. Also included are code examples from the sample project generated by the Lagom Maven archetype.

Look inside blog-api for the microservice API, and blog-impl contains the implementation code.

This repository is explained in my blog post about Lagom.

To run, execute:

mvn lagom:runAll

The REST APIs from all microservices are aggregated onto port 9000. Port 8000 contains the service locator REST API from Lagom.