Chapter 2. Up and running

In this chapter

  • Fetching a project template
  • Building a minimal Akka app for the cloud
  • Deploying to Heroku

Our goal here is to show you how quickly you can make an Akka app that not only does something nontrivial, but is built to do it to scale, even in its easiest, early incarnations. We’ll clone a project from that contains our example, and then we’ll walk through the essentials that you need to know to start building Akka apps. First we’ll look at the dependencies that you need for a minimal app, using Lightbend’s Simple Build Tool (sbt) to create a single JAR file that can be used to run the app. We’ll build a minimal ticket-selling app, and in its first iteration we’ll build a minimal set of REST ...

Get Akka in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.