package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0-rc3.tar.gz
md5=a071020e3532eac75c61c2b064a8fd00
sha512=2225e1352344d86b9299f599ae3f9d5576e78ce88663eae6201bc50b4819dd2e10070aeba5c44b75b50429791754df0a7ee27cd9889132739a8a93cdd7221e8e
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