/actix-portier

Portier authentication + actix sessions + handlebars templates

Primary LanguageRustApache License 2.0Apache-2.0

Description

Actix web using Portier for authentication and Handlebars templates to render HTML.

Usage

Start redis (for session persistence) using docker-compose.

docker-compose up -d

Update conf/local.yaml and/or conf/base.yaml to suit your needs and start the server.

cargo run

Access the homepage at 127.0.0.1:8000.

Available endpoints:

Credits

Most of the code comes from the awesome zero-to-production repository, by LukeMathWalker.

HTML Forms are adapted from this Minimal Login Form by Thodoris Thomaidis