Sprest - companion libraries to Spray
Sprest is a collection of libaries to make building applications simpler using Spray. Spray provides a general toolkit for building your own web application stack. Sprest builds on top of the toolkit to provide additional (more implementation-specific) libraries to help with building your application's stack.
Libraries
sprest-core
Required by other sprest libraries. Provides:
- Model and DAO conventions
- REST routing generators
- Security including password salting and session and user traits
sprest-reactivemongo
Provides ReactiveMongo DAO implementation.
SBT
Sprest is published to Bintray and is available on JCenter. To use it, add on of the following resolvers:
resolvers += Resolver.bintrayRepo("markschaake", "maven")
-- or --
resolvers += Resolver.jcenterRepo
Then you can include sprest libraries:
libraryDependencies += "sprest" %% "sprest-core" % "0.3.9"
libraryDependencies += "sprest" %% "sprest-reactivemongo" % "0.3.9"
Note: it is unnecessary to explicitly declare the "sprest-core" dependency if you declare a dependency on a library that depends upon the core (such as sprest-slick or sprest-reactivemongo).