Play example app to show how to integrate Skinny ORM
JavaScript Scala HTML Shell
Latest commit 918fbad Aug 20, 2016 @seratch seratch Bump skinny, sbt version
Failed to load latest commit information.
app skinny 2.1, Play 2.5 May 8, 2016
conf small fixes Feb 14, 2016
front Add JS tests Nov 8, 2014
project Bump skinny, sbt version Aug 20, 2016
public Update frontend things May 8, 2016
task Update deps Dec 19, 2014
tutorial Typesafe activator settings Nov 8, 2014
.gitignore Add JS tests Nov 8, 2014
.jshintrc Introduce gulp, bower and ES6 Nov 1, 2014
Procfile s/Typesafe/Lightbend/ May 8, 2016
bower.json Update Nov 22, 2015
gulp Introduce gulp, bower and ES6 Nov 1, 2014
gulpfile.js Add JS tests Nov 8, 2014
package.json Update frontend things May 8, 2016

How to use Skinny ORM in Play apps

This is an example app to show you how to use Skinny ORM in Play apps.

Live Demo

Lightbend Activator Template

Play Framework with Skinny ORM

Play Framework

Skinny ORM


How to setup

1. Add skinny-orm to libraryDependenncies

"org.skinny-framework" %% "skinny-orm" % "2.1.+"

2. Add ScalikeJDBC interagtion settings (Skinny ORM is built upon ScalikeJDBC)

You should add a dependency in build.sbt and add a pluing to conf/play.plugins.


3. DB Migration

If you need db migration, use Play's evolution or @tototoshi's flyway plugin.

How to run?

# brew install npm
npm install
# npm install -g bower
bower install

./gulp build

# brew install sbt
sbt run

# access localhost:9000 from your browser

Model Generator

task sub project is ready. Try sbt task/run generate:model {Entity} {attributes}.

sbt "task/run model Follow followerUserId:Long followingUserId:Long follower:Option[User] following:Option[User]"
sbt "task/run reverse-model Follow"
sbt "task/run reverse-model-all"
  • Option[{Entity}]: belongsTo association
  • Seq[{Entity}]: hasMany association
  • Seq[{Entity1}{Entity2}]: hasManyThrough association

Heroku deployment

heroku login
heroku git:remote -a {heroku app name}
heroku config:set BUILDPACK_URL=
git push heroku master


Here are some example DAOs.

More Information

or ask us anything here:!forum/skinny-framework

Under The MIT License

(The MIT License)

Copyright (c)