Getting Started
Dependency setup and examples
Getting Started
// build.sbt
libraryDependencies += "com.natural-transformation" %% "spoonbill" % "7.0.0"
The latest release is Spoonbill 7.0.0, published for Scala 3. Keep every Spoonbill module on the same version and recompile when upgrading from an earlier major release. Start with the user guide and working examples. See the browser authentication example for password/factor login, recovery, protected actions and logout without application JavaScript. Its shared UI runs natively in cats-effect IO or Future; the guide starts with the managed IO application.
| Module | Responsibility |
|---|---|
spoonbill-core | Pure immutable security and ceremony decisions |
spoonbill | Application runtime, browser coordinator and memory provider |
spoonbill-security-jdbc | Optional PostgreSQL browser, transaction and snapshot integration |
spoonbill-pekko | Native Scala 3 Pekko HTTP/WebSocket adapter |