API Reference Legendary v2.4.1

Modules

Legendary.Auth keeps the contexts that define your domain and business logic.

The baseline user schema module.

The entrypoint for defining your web interface, such as controllers, views, channels and so on.

A plug that returns 403 unauthorized if the user is not an admin. Used to block out logged-in-only routes.

Mailer module for Pow which links it to our well-styled defaults.

Legendary.Core keeps the contexts that define your domain and business logic.

Generic additional utility functions for Maps.

A shareable connection pool. We use this so that all the apps connecting to one database can use on connection pool, even if they have different repos.

The core library for email in the application. The functions here can be composed in the application to send different emails.

The base mailer for email for the application.

The entrypoint for defining your web interface, such as controllers, views, channels and so on.

HTML helpers for emails.

Conveniences for translating and building error messages.

A module providing Internationalization with a gettext-based API.

HTML helpers for our styled (Tailwind) forms.

Module with named helpers generated from Legendary.CoreWeb.Router.

Collects metrics for the application and allows them to be transmitted using the Telemetry framework.

The internationalization and strings module. Keeps strings outside the codebase and allows them to be replaced on a per locale basis by editing yml files.

Mix Tasks

Mix task to create an admin user from the command line.