Yancy Example - Authentication Demo

This example demonstrates Password and Github authentication.

Running the Example

You will need to install Carton from CPAN. Then, from the eg/auth-demo directory:

$ carton install
$ carton exec ./myapp.pl eval 'app->yancy->create(
    users => {
        email => "admin\@example.com",
        password => "123qwe",
$ carton exec ./myapp.pl daemon
Server available at

Then visit to edit the site. Use 'admin@example.com' and '123qwe' to log in.

See the Yancy Auth guide for more information.