API Reference Zoonk v0.3.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.

Reusable configuration and utilities for courses.

Struct for defining a course's data.

Schema for the relationship between courses and users.

Lesson schema.

LessonStep schema.

StepOption schema.

Mailer service for Zoonk.

Organizations context.

Struct for defining a school's data.

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.

Badge components.

Banner components.

Button components.

Form components.

Reusable component for deleting items.

Details component.

Dropdown components.

Flash components.

Form components.

Header components.

Icon components.

Image components.

Input components.

Link components.

List components.

Modal components.

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.

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.

Mounts the course data and permissions.

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.

Shared validators to be used with Ecto changesets.

mix-tasks

Mix Tasks

Upgrade the icon set used by the application.