Fast API development using Scalatra and squeryl

CodeDevEnglishTutorials

So many great frameworks over here and not enough time to test them all !!

A giter8 template that creates an sbt project for these great frameworks :

  • Bootstrap : Don’t need to present this one !
  • Jquery : Obviously everybody knows this javascript beauty
  • Scala : Functional programming language
  • Scalatra : Web application framework in scala (sooooo easy to use !)
  • Squeryl : Scala ORM for several relational database
  • FlywayDB : Database migration framework

This template also includes several plugins :

  • eclipse plugin
  • IntelliJ idea plugin
  • proguard
  • several JDBC drivers (mysql, postres, h2, jtds, derby)
  • sbt assembly
  • jerkson
  • joda-time
  • specs2

Usage

Open a console and:

The ‘.g8’ suffix is implicit so you could also do:

You will now be prompted for each parameters… I know there are a lot, and they aren’t logically ordered (I don’t know why) :7

Once everything is ok (you can leave everything by default) :

cd 
sbt
container-start

Then just open a navigator and go there http://localhost:8080 and you'll have further instructions.

Have a nice day !

Previous
3 minutes SVN server
Next
Spring – Cassandra – Firebrand ocm

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.