Quick example project of using scala slick with scalatra. Obviously not the best idea to have db code living in your controllers but this is strictly for demo only :)
$ cd slickfun
$ ./sbt
> container:start
If you have httpie (https://github.com/jkbr/httpie) installed, you're gonna have a good time. Otherwise, curl your heart out.
Given the server is running...
$ http post http://localhost:8080/users first=chris last=james
$ http http://localhost:8080/users
The interesting code more or less all lives in MyScalatraServlet.scala