Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 2.01 KB

README.md

File metadata and controls

68 lines (47 loc) · 2.01 KB

Deprecation warning

This project is out of date and not maintained.

Silhouette Slick Seed Template

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.

Example

Currently, there is no live example of this template.

Features

  • Sign Up
  • Sign In (Credentials)
  • Social Auth (Facebook, Google+, Twitter)
  • Dependency Injection with Guice
  • Publishing Events
  • Avatar service
  • play-slick database access

Documentation

Slick

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"

Common

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.

Activator

This project template is also hosted at typesafe.

License

The code is licensed under Apache License v2.0.