package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
3.0.1.tar.gz
md5=4157e84bdd55758a1a2fb1ccb4172663
sha512=31aa7fc2b27a2713955b2bd6ed2b727245796e26361d0ba163501a79b9f46a75d258fbc6165eb68ddbfb16b18f96560367946fa91f856c14027fbfb2286233e9
doc/index.html
Sihl User
sihl-user
takes care of user management, login, registration and forgot password workflows.
Backends
sihl-user
ships with 3 backend implementations.
Installation
Backend
First, choose a backend in service/service.ml
:
module User = Sihl_user.PostgreSql
Registration
Register the service in run/run.ml
:
let services = [ Service.User.register () ]
Migrations
Run make sihl migrate
to run pending migrations.
Usage
The service API is documented in Sihl.Contract.User.Sig
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page