package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
3.0.0.tar.gz
md5=3ceaa839d4d9480011761257aedf2f22
sha512=6b44bb6f67b1933a7b74fff8488d3cc6c9a7360fa99b3aeae9158e2887dbc44c1b215d8cffb6cc082cc88a0ffa576b2d9ebdd21850f2a19656aedbe4c0fe2c59
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