API Reference Zoonk v0.1.0-alpha

modules

Modules

Zoonk keeps the contexts that define our domain and business logic.

Accounts context.

User schema.

Service for managing user emails.

Token generation for user authentication.

Content context.

Course schema.

This module defines test helpers for creating entities via the Zoonk.Accounts context.

This module defines test helpers for creating entities via the Zoonk.Content context.

This module defines test helpers for creating entities via the Zoonk.Organizations context.

Mailer service for Zoonk.

Organizations context.

Schema for the relationship between schools and users.

Defines a repository module for Ecto.

The entrypoint for defining our web interface, such as controllers, components, channels, and so on.

Reusable components for user pages.

Banner components.

Button components.

Details component.

Dropdown components.

Flash components.

Form components.

Header components.

Icon components.

Image components.

Input components.

Link components.

List components.

Modal components.

Display a school card with a link to the school page.

Reusable components for managing privacy configurations.

Tab components.

Table components.

Reusable file upload component.

Utils to be used in function components.

Renders a page warning users that they don't meet the minimum age requirement.

Handles all authentication actions.

The Phoenix endpoint, handling HTTP requests.

Phoenix View for the error page.

Render an error for a JSON request.

A module providing Internationalization with a gettext-based API.

Send instructions to help users confirm their account.

Render a page where users can request to receive an email with instructions to reset their password.

LiveView for creating a new course.

Renders a course page.

Renders the home page.

Renders a page for editing a school.

Renders the page to create a new school.

Renders a list of users for a school based on their role.

This module is used to set the active tab to the socket.

Check if a user has reached the required age to view this application.

Update Phoenix's headers to include additional secure browser headers such like the Content Security Policy.

This is a multi-tenant app where we assign schools depending on the host value.

Reusable functions for setting up multiple languages and translations.

Handles user authentication.

Privacy configuration.

Defines the application's routing logic using the Phoenix.Router module.

Reusable logic for building multistep forms.

Slug module for generating slugs.

mix-tasks

Mix Tasks

Upgrade the icon set used by the application.