Setting up
To set up our project, we will need the Akka library, in order to create Actors on the server, and Notify.js. Notify.js is a JavaScript library used to pop up notifications on the browser; we picked this library because it does not have any dependencies on other frameworks.
To add this JavaScript library, just add the following to build.sbt
, under jsDependencies
in the client
variable:
jsDependencies ++= Seq( ..., "org.webjars" % "notifyjs" % "0.4.2" / "notify.js")
The preceding code is for the configuration of the project.