package sihl-user
User service implementations for Sihl
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0-rc2.tar.gz
md5=ca63753c880ab1d043bc3653909f049f
sha512=55579ced17dc7a80e1e12e45c0ecfc673d194dbbaefc4eb77f525e9d3f6eae4e34773334014a413d7ca8f883a9e56fdd6ef47d80b4fd066230f31021738153fb
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