Modules
Each module adds one feature to your app, such as sign-in, payments or forms. This page helps you pick the modules for what you want to build. It also shows which other modules each one installs, so you know what you end up with.
A module is a Nuxt module published as
@frigear-nu/<name>. You add it to nuxt.config.ts and set its options. The modules are Nuxt 4 only, as
Introduction explains.
Which module do I need?
Find what you want to build, then add the module in the second column. It installs the modules it depends on, so you rarely add more than one at a time. Module Kit is left out of the last column, since nearly every module installs it.
| You want to | Add | It also installs |
|---|---|---|
| Let people sign in with a password, an emailed link, a passkey or GitHub/Google | Users | Auth, Notify |
| Protect your own server routes and accept API tokens | Auth | Notify (server mode) |
| Give signed-in users profile, security and API token pages | Account | Auth, Users, UI |
| Decide who may open a page or call a route, by permission and role | Authorization | Auth, Users (server mode) |
| Store typed settings per user, and let users choose email, SMS or push per kind of message | Preferences | Auth, Users, Notify, UI |
| Let users sign in to your other apps through this one, as an issuer | OAuth Server | Auth, Users, MCP, UI |
| Accept an issuer's access tokens in a separate service | OAuth Resource | Auth, Users |
| Build a mobile app with Capacitor | Mobile | Auth, when you configure authentication |
| Take one-time payments | Payments | Auth, Users, Stripe, MCP, UI |
| Sell memberships or other recurring subscriptions | Subscriptions | Auth, Users, Notify, Stripe, MCP, UI |
| Sell tickets to events and check people in | Events | Auth, Users, MCP, UI, Stripe, Payments |
| Collect form submissions | Forms | Auth, Users, MCP, Notify, UI |
| Show a cookie banner and record consent | Cookie Consent | Nothing else |
| Let AI agents call your app's tools within the user's scopes | MCP | Auth |
| Give staff a guarded admin area | Admin | Menu, Widget, UI |
| Send email, SMS and push, and notify a user on the channels they chose | Notify | Nothing else |
| Push to a phone | Push | Auth, Users, Notify, UI |
| Write a module of your own | Module Kit | Nothing else |
| Give users a home screen of cards that modules fill and they can rearrange | Dashboard | Widget, UI |
| Decide who may see a record by role, team role or operation | Auth | Notify (server mode); add Authorization for role grants |
| Track the occasions you work at, such as a festival bar, for crew and shifts to attach to | Operations | Auth, Maps, UI |
| Put people in teams with roles, by hand or from their global role or plan | Teams | Auth, Users, UI |
| Manage questions and answers once and show them on pages, in the app and on custom pages | Help center | Auth, Notify, UI |
| Take applications for an operation's crew, approve them and invite people straight onto a team | Crew | Operations, Teams, Forms, Notify, Auth, Users, UI |
| Publish help articles, public or per role, and track an onboarding checklist | Help center | Auth, Notify, UI |
| Share files in folders with the people allowed to see them, public or by role, team or plan | Documents | Auth, UI |
| Plan an operation's shifts, let volunteers swap them, check them in by pass, station or location and earn perks | Shifts | Crew, Teams, Operations, Notify, Auth, Users, Maps, UI |
| Let a module store a location or a venue layout, with a picker, an editor and viewers | Maps | UI |
| Answer the contact form, email, WhatsApp, Messenger and Instagram from shared inboxes | Inbox | Auth, Notify, UI |
| Put short, counted links in emails and SMS, and learn who clicked | Short links | Auth, UI |
| Let people sign up to lists (your news, the volunteers of an event), also without an account, with double opt-in and one-click unsubscribe | Campaigns | Auth, Users, Notify, UI |
Every module that stores data also needs NuxtHub for the database. It is listed on each module's page.
The modules by category
Each module page starts with what the module does and a quick setup. The badges on that page say where it runs:
- Server. Server routes and utilities in Nitro.
- Client. Code that runs in the browser.
- Mobile. Works in a Capacitor app.
Larger modules are a folder of pages. The first page of the folder is the overview.
Identity
Who your users are, how they sign in and what they may do.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Auth | Signs people in and tells every server route who is calling. In client mode it signs in at an issuer instead, for single-page apps (SPAs) and Capacitor apps. | ✓ | ✓ | ✓ |
| Users | The users table, staff administration of users, and self-service profile, email and password changes. | ✓ | ✓ | |
| Account | Profile, security and API token pages for signed-in users. | ✓ | ||
| Authorization | Roles, permissions, policies, route rules and <Can>. Works in both Auth modes. | ✓ | ✓ | ✓ |
| Preferences | Typed per-user preferences, optionally sent to OAuth applications as claims, and the account page where users choose their notification channels. | ✓ | ✓ | |
| OAuth Server | Makes your app an OAuth 2.0 / OpenID Connect issuer that your other apps sign in through. | ✓ | ✓ | |
| OAuth Resource | Lets a service accept an issuer's access tokens, so one mobile app signs in once and calls every service. | ✓ |
@frigear-nu/oauth-client package is deprecated. Auth in client mode
replaces it.Organisation
Who belongs where: teams with role ladders and owner references.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Teams | Teams owned by an operation or the platform, members with a role from their kind's ladder, and rules that map global roles and plans to team roles. | ✓ | ✓ |
Commerce
Taking money through Stripe.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Stripe | Links users to Stripe customers, verifies one webhook and passes its events to other modules. | ✓ | ||
| Payments | One-time Stripe payments with lifecycle hooks. | ✓ | ✓ | |
| Subscriptions | Recurring subscriptions with plans and entitlements that your app defines. | ✓ | ✓ |
Content
What people read: questions and answers, help articles and documents.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Help center | Bilingual help articles in categories, public or per role, FAQ accordions with content components for pages, onboarding checklists with read tracking, and articles from the database or Nuxt Content. | ✓ | ✓ | ✓ |
| Documents | Files in nested folders in Blob, visible by grant list and inherited from the folder, browsed in the dashboard. | ✓ | ✓ |
Features
Ready-made product features.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Events | Events with ticket types, addons, capacity, membership rules and QR check-in. | ✓ | ✓ | |
| Forms | Forms stored in the database, with conditional fields, uploads and delivery. | ✓ | ✓ | |
| Cookie Consent | A General Data Protection Regulation (GDPR) banner with consent categories, gating and proof of consent. | ✓ | ✓ | |
| MCP | Model Context Protocol (MCP) tools that other modules add, limited by the caller's scopes. | ✓ |
Communication
Reaching people: email, SMS and push, the templates they use, each user's choice of channel, short links that count clicks, and shared inboxes for the replies.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Notify | Email, SMS, push and simple notification drivers and dispatch, and notifyUser over a topic registry. | ✓ | ||
| Email Templates | Vue email templates that modules ship and apps override. | ✓ | ||
| Push | Device registration and FCM and APNs delivery, as the push driver of Notify. | ✓ | ✓ | ✓ |
| Inbox | Shared mailboxes for the contact form, email and Meta's channels, with assignment, notes, hidden threads, an audit log, retention and GDPR export and erase. | ✓ | ✓ | |
| Short links | Short links any module makes for emails and SMS, with click counts without IP addresses and a hook that tells the owner who clicked. | ✓ | ✓ | |
| Campaigns | Newsletters people sign up to with double opt-in, stored consent and signed unsubscribe links, the signup component, the account page and the staff pages for the lists. | ✓ | ✓ |
Interface
The shell, navigation and components that screens are built from.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| UI | Shared components, composables and the Nuxt UI integration. | ✓ | ||
| Admin | A guarded admin shell, dashboard and navigation that modules add pages to. | ✓ | ||
| Menu | Named navigation menus that modules and content add items to. | ✓ | ✓ | |
| Widget | Named widget and tab areas that modules add components to. | ✓ | ||
| Mobile | A Capacitor app shell: one tab registry for native and web tab bars, native features, deep links and a CLI. | ✓ | ✓ | |
| Dashboard | Dashboards that modules add cards to, with a per-user layout and a mobile Home tab. | ✓ | ✓ | |
| Maps | A building block for modules: a location picker, a plane layout editor and viewers with live layers. No tables of its own. | ✓ | ✓ | ✓ |
Platform
The foundations that other modules and apps stand on.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Module Kit | Helpers for writing modules, the server toolkit and extendable database tables. | ✓ | ||
| Base Layer | A Nuxt layer, not a module. Your app extends it to get the modules, styling and content conventions of Frigear websites. | ✓ |
Volunteering
Crew work: the occasions your organisation staffs, the crew that work them and their shifts. They build on Organisation, Content, Communication and Interface.
| Module | What it does | Server | Client | Mobile |
|---|---|---|---|---|
| Operations | The occasions your organisation works at, with a period, place, venue layout and status, that crew and shifts attach to. | ✓ | ✓ | |
| Crew | Applications, approvals, waiting list and invite links that turn people into an operation's crew, on top of teams. | ✓ | ✓ | ✓ |
| Shifts | Schedules, shift roles, assignment with guards, swaps, check-in by pass, station or location, earned perks and who is on shift now, per operation. | ✓ | ✓ | ✓ |
How they fit together
A module installs the modules it depends on when Nuxt loads it. So your app lists only the modules it uses directly. Each module's page names these under Installed for you.
The picture shows the main chains, without Module Kit. An arrow points from a module to a module it installs.
Account, Preferences, OAuth Server, OAuth Resource ──▶ Users ──▶ Auth ──▶ Notify
▲
Events ──▶ Payments ──▶ Stripe ──────────────────────────┘
Subscriptions ────────▶ Stripe
A few links need a word more:
- Mobile apps. The app sets
authentication.mode: 'client'itself and picks its guards with Authorization. It signs in at an issuer such as OAuth Server. Each service it calls checks the token with OAuth Resource. Identity explains how these parts fit. - Events and Subscriptions. Events reads memberships from Subscriptions when both are installed.
- Admin screens. Admin provides the shell. Users, Subscriptions, Payments, Events, Forms and OAuth Server add their admin pages only when Admin is installed.
- Extension points. Menu, Widget and MCP are registries that other modules add entries to. See Extension points.
moduleDependencies in its module.ts. Optional entries are
used only when the app installs them.Next steps
- Add a module – install your first module in your app and generate its migration.
- Identity – choose the sign-in modules for a web app, a mobile app and the services they call.
- Extension points – see how modules add menus, widgets, scopes and tools to each other.
- Writing a module – build your own module, starting from
pnpm cli module create.