This project is out of date and not maintained.
This is a fork of the official Silhouette Seed project. If you want to have a first look at Silhouette, I suggest you have a look at the official project.
The Silhouette Slick Seed project is an Activator template which shows how Silhouette can be implemented in a Play Framework application. It uses the play-slick library for database access.
Currently, there is no live example of this template.
- Sign Up
- Sign In (Credentials)
- Social Auth (Facebook, Google+, Twitter)
- Dependency Injection with Guice
- Publishing Events
- Avatar service
- play-slick database access
This template defaults to an in memory data storage via hash maps. To enable database acces (via Slick), you need to edit the play configuration.
To enable use of Slick DAOs, use this:
silhouette.seed.db.useSlick=true
Additionally, you need to configure the database layer. Example for MySQL:
db.default.driver=com.mysql.jdbc.Driver
db.default.url="jdbc:mysql://localhost/play_silhouette_slick_seed"
db.default.user=your_db_user
db.default.password="your_db_password"
Have a look at the official Silhouette wiki for more information. If you need help with the integration of Silhouette into your project, don't hesitate and ask questions in the mailing list or on Stack Overflow.
This project template is also hosted at typesafe.
The code is licensed under Apache License v2.0.