Slick is Typesafe's modern database query and access library for Scala. It allows you to work with stored data almost as if you were using Scala collections while at the same time giving you full control over when a database access happens and which data is transferred. You can also use SQL directly. This tutorial will get you started with a simple standalone Scala application that uses Slick.Tweet
Already have Typesafe Activator? Search for
hello-slick in the new application template catalog and create a new app.
Or grab the Activator Template Bundle:
- Download the Template Bundle
- Extract the downloaded zip file to your system
Start Typesafe Activator's UI:
In your File Explorer, navigate into the directory that the template was extracted to, right-click on the file named "activator.bat", then select "Open", and if prompted with a warning, click to continue:
Or from a command line:
This will start Typesafe Activator and open this template in your browser.
C:\Users\typesafe\hello-slick> activator ui