jbdeboer / play-slick3-steps

Example app using play 2.4 + slick 3.1.0

Home Page:https://pedrorijo91.github.io/blog/play-slick/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

play-slick3-steps example

Codacy Badge Build Status

Simple working app using play 2.4 and slick 3.1.0 with mysql. Step by step tutorial at https://pedrorijo91.github.io/blog/play-slick/

Created since the available demos have too much irrelevant code to who wants to integrate slick 3.1.0 with a play app.

Based on bhavyalatha26/play-scala-slick-example.

Removed some code such as:

  • Dependency Injection with guice
  • Traits and implementation classes
  • Useless controllers
  • Support for i18n
  • activator

=== Getting Started ===

To run this demo using activator:

  1. git clone this repository

  2. Update the MySQL server url, username and password in conf/application.conf

  3. Create a playScalaSlickExample database on your MySQL server.

    CREATE DATABASE playScalaSlickExample;

  4. Launch the demo using activator ~run

  5. Open the Play web server at http://localhost:9000

  6. You should be prompted to apply the evolution script. Apply the script.

  7. You should now see the app running.

About

Example app using play 2.4 + slick 3.1.0

https://pedrorijo91.github.io/blog/play-slick/

License:Other


Languages

Language:HTML 60.0%Language:Scala 39.2%Language:JavaScript 0.7%