An open API service indexing awesome lists of open source software.

https://github.com/pedrorijo91/play-slick3-steps

Example app using scala Play Framework and Slick
https://github.com/pedrorijo91/play-slick3-steps

demo mysql play-framework scala slick tutorial tutorials

Last synced: 25 days ago
JSON representation

Example app using scala Play Framework and Slick

Awesome Lists containing this project

README

        

# play-slick3-steps example
[![Build Status](https://travis-ci.org/pedrorijo91/play-slick3-steps.svg)](https://travis-ci.org/pedrorijo91/play-slick3-steps)

Simple working app using play 2.7 and slick 4.0.0 with mysql. Step by step tutorial at [https://pedrorijo91.github.io/blog/play-slick/](https://pedrorijo91.github.io/blog/play-slick/)

Created since the [available demos](https://github.com/playframework/play-slick/tree/master/samples) have too much irrelevant code to who wants to integrate slick with a play app.

Based on [bhavyalatha26/play-scala-slick-example](https://github.com/bhavyalatha26/play-scala-slick-example).

Removed some code such as:

* Traits and implementation classes
* Useless controllers
* Support for i18n
* activator

## Getting Started

To run this demo using sbt:

* `git clone` this repository
* Update the MySQL server url, username and password in `conf/application.conf`
* Create a `example` database on your MySQL server.

```mysql
CREATE DATABASE example;
```

* Launch the demo using `sbt run`
* Open the Play web server at
* You should be prompted to apply the evolution script. Apply the script.
* You should now see the app running.