Start building Lagom microservices
Get an introduction to the Lagom Starter Kit for IBM Cloud.
Lagom is an open source framework for building microservices in Scala or Java. Built on Akka and Play, it serves as an abstraction layer so you don’t need to have in-depth knowledge of those core technologies to succeed in developing a reactive system of microservices.
In this post we’re introducing a Lagom Starter Kit for IBM Cloud. Cloud Starter Kits set up project resources and build out an architectural pattern around a particular technology. They provide a way for developers to get started coding quickly. This particular starter kit is based on the “Hello World” app on the Lagom Framework open source project site, and uses the Lagom Scala APIs. Running this starter kit will create the project from IBM Cloud and download it to your local system for further development.
You will need a few things before you get started
- Java Development Kit, Version 8 or later.
- sbt, Version 1.x or later: The recommended build tool when using the Lagom Scala APIs.
- Internet access/proxy set up. (If you can only access the internet through a proxy server, be sure to set the HTTP proxy environment on your system to your proxy’s URL.)
Run the Starter Kit
Now you are ready to run the Lagom Scala Starter Kit.
- Click Create to package up the project code and download it to your local machine.
- After the download is complete, navigate to the project directory.
- Start sbt.
- Execute the
See additional details for building and running the project, if needed.
Understanding the Hello World example
The Hello World sample app illustrates a number capabilities of the Lagom framework. You will want to explore these further on the Lagom Framework site.