package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
3.0.2.tar.gz
md5=55173cff02f141403015de8f4f17cb20
sha512=810be398d4e43232838ff2d53daf683ce986eb6592a083877d929ba1022ccfd3093ee49291ab704908261bebf244176b80751be015f2443c4dc30993e1a6602c
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