API Reference Zoonk v0.2.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.
Mailer service for Zoonk.
Organizations context.
School schema.
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.
Reusable components for user pages.
Badge components.
Banner components.
Button components.
Form 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.
User confirmation page.
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.
User login page.
User registration page.
Reset password page.
User settings page.
LiveView for editing a course.
Course list page.
LiveView for creating a new course.
Renders a list of users for a course based on their role.
Renders a course page.
Renders a list of users for a school based on their role.
Renders the home page.
School list page.
Renders the page to create a new school.
Renders a school page.
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.