A quick tutorial focused on building a quick Reactive application with Play2 Framework that features a REST API backed by the asynchronous ReactiveMongo driver. Tutorial and sources available at https://github.com/47deg/bbcdzREST
REST Services with
Play2 Scala & ReactiveMongo
Who am I?
Scala, Java, Objective-C
MAIN TOOLS TO BUILD THIS APP
App frameworks are like hipsters, always
looking for the next cool thing.
There is a new kid on the block...
Only one thing is better than reactive apps.
Monkey beard JORGE!
Let’s get started
Create the APP
Play uses conf/routes to map http requests to controller actions
Play projects are SBT projects, here we add the dependencies
Play plugins are registered in conf/play.plugins
In conf/application.conf we add things like DB settings
In DEV mode you can see the conﬁgured routes on a bogus URL
Controllers implement the actions
Let’s build it!
If you did not attend the session a full tutorial is here
Become a Scala Master