package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
2.0.0.tar.gz
md5=8cde8cf002a145dc3223568924a34ba3
sha512=d61b776017feeb5e0a24624fa4c5db6f30d7c7badd8c696283cf51baf0c36d4d3335fee0fdf835e6d7289ce51d36439463014ce3b25a2eb15d05f331c094aa86
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