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
- Host: GitHub
- URL: https://github.com/pedrorijo91/play-slick3-steps
- Owner: pedrorijo91
- License: other
- Created: 2015-11-05T00:06:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-17T21:03:07.000Z (about 6 years ago)
- Last Synced: 2025-04-09T14:21:21.871Z (about 2 months ago)
- Topics: demo, mysql, play-framework, scala, slick, tutorial, tutorials
- Language: HTML
- Homepage: http://pedrorijo.com/blog/play-slick/
- Size: 25.4 KB
- Stars: 66
- Watchers: 5
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# play-slick3-steps example
[](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.