Rest, scala, spray, slick, sbt, akka, mysql technologies

Enterprise application might be developed using a variety of architectural styles. And REST is one of the most powerful of them. It allows us to build simple, scalable, highly productive APIs with independent components on the basis of widespread standards like HTTP, MIME etc, engaging their true potential.

Let's discuss how to create a lightweight, but full-featured RESTful service from scratch.

Scala, slick, mysql technologies

I'm using Slick library in my project and need to ensure that all required MySQL tables are created on application start.

Scala, slick, mysql technologies

Slick documentation says how to perform update operation for specific column, but doesn't contain any examples of updating entire record.

Below is tiny example of how to do that.