ยงDevelopment environment overview
Setting up a Lagom development environment takes only minutes using an sbt template or Maven archetype as described in Getting Started with Lagom. Without any coding, scripting or configuration on your part, the templates set up the following:
-
A hierarchical build structure with two example services. You can follow their pattern to begin creating your own services, right in the same project.
-
The infrastructure necessary to run and test your services locally:
-
A Kafka server for handling messages.
-
A Cassandra server for handling persistence.
-
A Service Registry and Service Gateway to support location transparency.
-
-
The configuration necessary to build and run the services and infrastructure.
After you have created a project using one of these templates, the runAll
command starts all of the runtime components and you can test immediately.