---
title: "Nuxt backend"
description: "The all-in-one backend for client apps on Nuxt and Convex — sign-in with codes and passkeys, workspaces, plans and credits, email and notifications, AI jobs, files and an admin console, from one package."
canonical_url: "https://nuxt-backend.dev"
---
# Nuxt backend

> The all-in-one backend for client apps on Nuxt and Convex — sign-in with codes and passkeys, workspaces, plans and credits, email and notifications, AI jobs, files and an admin console, from one package.

Version: nuxt-backend 0.6.x

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

Sign-in with codes and passkeys, workspaces, plans and credits, email and notifications, AI jobs, files and an admin console. One Nuxt module and one Convex component give a client app its whole backend, behind one API.

Install it with `npx nuxt module add nuxt-backend`, or hand the install to a coding agent with this prompt:

```text
Install nuxt-backend, the all-in-one SaaS backend for Nuxt on Convex, in this project:
run `npx -y skills@1.7.0 add https://nuxt-backend.dev --skill nuxt-backend -y`,
then follow .agents/skills/nuxt-backend/references/install.md.
```

- [Quickstart](https://nuxt-backend.dev/docs/start/quickstart): from an empty Nuxt app to a running backend.
- [Start](https://nuxt-backend.dev/docs/start): what the package is, and whether it fits.
- [Playground](https://nuxt-backend.dev/playground): Panels, the app the tutorial builds, running for a signed-in person; it has no Markdown twin.

## Everything behind a client app

Twelve app layers, each with its pages, components and checks, on when its key is set:

- [Auth](https://nuxt-backend.dev/docs/build/auth): Sign-in codes and passkeys, workspaces, launch phases and invites.
- [Data](https://nuxt-backend.dev/docs/build/data): Realtime queries, search, checked uploads and share links.
- [Jobs](https://nuxt-backend.dev/docs/build/data/jobs): Workflows, schedules, queues and retention.
- [Billing](https://nuxt-backend.dev/docs/build/billing): Plans, credits, promotions, gifts and referrals.
- [Email](https://nuxt-backend.dev/docs/build/email): Branded templates, topics and one-click unsubscribe.
- [Notifications](https://nuxt-backend.dev/docs/build/email/notifications): An in-app inbox and web push, each kind opted into (planned).
- [AI](https://nuxt-backend.dev/docs/build/ai): Metered model calls, generation jobs and chat (experimental).
- [Protection](https://nuxt-backend.dev/docs/build/auth/sign-in/bots): Bot checks, rate limits and content safety.
- [Monitoring](https://nuxt-backend.dev/docs/ship/operate/monitoring): Errors, cron monitors and a health endpoint.
- [Flags](https://nuxt-backend.dev/docs/ship/operate/flags): Rollouts, kill switches and a maintenance banner.
- [Analytics](https://nuxt-backend.dev/docs/build/growth/measure/revenue): Revenue, usage and the growth funnel in the admin console (planned).
- [Hosting](https://nuxt-backend.dev/docs/ship): Vercel first, any Nuxt host, one-command production.

Under the hood, one layer over all of these services; your code calls the package, and the package calls them:

- Convex: database, functions, files, scheduler, AI Gateway.
- Better Auth: sessions, codes, passkeys, workspaces.
- Polar: checkout, subscriptions, meters, portal.
- Resend: sending, delivery events, topics.
- Vercel: hosting, bot checks, firewall.
- Sentry: errors, cron monitors, uptime.

## One command checks it all

`npx nuxt-backend doctor` checks every app layer and prints one finding per check, with a fix under each warning; `--only <layer>` checks one layer and `--json` prints the report for a script or an agent.

- `npx nuxt-backend doctor --only auth`: 5 checks, [the Auth docs](https://nuxt-backend.dev/docs/build/auth)
- `npx nuxt-backend doctor --only billing`: 12 checks, [the Billing docs](https://nuxt-backend.dev/docs/build/billing)
- `npx nuxt-backend doctor --only email`: 6 checks, [the Email docs](https://nuxt-backend.dev/docs/build/email)
- `npx nuxt-backend doctor --only ai`: 10 checks, [the AI docs](https://nuxt-backend.dev/docs/build/ai)
- `npx nuxt-backend doctor --only protection`: 3 checks, [the Protection docs](https://nuxt-backend.dev/docs/build/auth/sign-in/bots)
- `npx nuxt-backend doctor --only monitoring`: 2 checks, [the Monitoring docs](https://nuxt-backend.dev/docs/ship/operate/monitoring)

[The doctor reference](https://nuxt-backend.dev/docs/reference/cli#doctor) lists every check and its fix.

## One package, not twelve integrations

- One API over every service: Your code calls useCredits() and email.send(), never a provider's SDK. Brand names stay in the docs. [Principles](https://nuxt-backend.dev/docs/start/concepts/principles).
- Layers switch on by themselves: Set a layer's key and it turns on; leave it out and it stays off. There is no switch to flip. [App layers](https://nuxt-backend.dev/docs/start/concepts/capabilities).
- Pages and components included: Sign-in, account, pricing, workspaces and the admin console ship ready, in your theme, every string a label. [Pages and components](https://nuxt-backend.dev/docs/build/ui).
- Real sandboxes from the first run: Development runs on Polar's sandbox and Resend's test mode, with sent mail in a dev inbox. [Develop with real sandboxes](https://nuxt-backend.dev/docs/develop/sandboxes).
- Typed errors end to end: Every refusal carries a code, from the Convex function to your page, so you switch on it instead of parsing text. [Errors](https://nuxt-backend.dev/docs/build/data/read-write/errors).
- Ready for coding agents: Task skills, AGENTS.md and one developer MCP server that knows your project and the services under it. [Build with agents](https://nuxt-backend.dev/docs/develop/agents).

## Skills for coding agents

A coding agent that builds an app on the package reads its skills: the core, `nuxt-backend`, with the rules, the CLI and the env, and a task skill for each part of the app:

- [`nuxt-backend-auth`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-auth/SKILL.md): sign-in, sessions, passkeys, roles, user-scoped functions, workspaces and invitations, invite codes and the waitlist, the admin console with impersonation, the activity trail, consents, and account export and deletion
- [`nuxt-backend-billing`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-billing/SKILL.md): the catalog, plans, checkout, the portal, feature gates, plan quotas and credits
- [`nuxt-backend-growth`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-growth/SKILL.md): launch phases, offers, referrals, gifts, lifecycle email and the funnel
- [`nuxt-backend-email`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-email/SKILL.md): transactional email, templates, delivery tracking, the dev inbox and notifications
- [`nuxt-backend-ai`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ai/SKILL.md): metered AI actions, streams and the job queue
- [`nuxt-backend-data`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-data/SKILL.md): the function tiers, queries and mutations, errors, search, workflows, uploads, share links, presence, retention, tokens and the Convex components for counts, queues, cached actions, crons and migrations
- [`nuxt-backend-ui`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ui/SKILL.md): the packaged pages and components, their parts, theming, labels, translation, slots, the headless composables and eject
- [`nuxt-backend-ship`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ship/SKILL.md): provider setup, tests, deploying, production checks, monitoring, flags and kill switches, webhooks and rate limits
- [`nuxt-backend-upgrade`](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-upgrade/SKILL.md): moving an app to a new version, and every name a release renamed or removed

Install them with `npx skills add https://nuxt-backend.dev --skill '*'`. [Skills and agent files](https://nuxt-backend.dev/docs/develop/agents) covers what each holds, and [Docs for agents](https://nuxt-backend.dev/docs/develop/agents/docs-for-agents) lists everything this site serves to agents.

These docs answer as MCP tools too, read-only and with no sign-in: `https://mcp.nuxt-backend.dev/mcp`. [Docs MCP](https://nuxt-backend.dev/docs/develop/agents/docs-mcp) lists the tools and connects a client.

## Install the module. Run nuxt-backend dev. Ship.

Add the module with `npx nuxt module add nuxt-backend`. The first `npx nuxt-backend dev` scaffolds the backend files and fills in the environment: nothing to set by hand.

## Resources for Agents

- [API catalog: every service document this site publishes](https://nuxt-backend.dev/.well-known/api-catalog)
- [Sitemap (XML)](https://nuxt-backend.dev/sitemap.xml)
- [Sitemap (Markdown): every page on the site](https://nuxt-backend.dev/sitemap.md)
- [MCP server card: MCP endpoint at https://nuxt-backend.dev/mcp](https://nuxt-backend.dev/.well-known/mcp/server-card.json)
- [MCP endpoint (streamable HTTP)](https://nuxt-backend.dev/mcp)
- [llms.txt: index of the documentation for LLMs](https://nuxt-backend.dev/llms.txt)
- [llms-full.txt: the full documentation as a single file](https://nuxt-backend.dev/llms-full.txt)
- [Agent skills index: every skill published by this site](https://nuxt-backend.dev/.well-known/skills/index.json)
- [Agent skill: nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)
- [Agent skill: nuxt-backend-ai](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ai/SKILL.md)
- [Agent skill: nuxt-backend-auth](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-auth/SKILL.md)
- [Agent skill: nuxt-backend-billing](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-billing/SKILL.md)
- [Agent skill: nuxt-backend-data](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-data/SKILL.md)
- [Agent skill: nuxt-backend-email](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-email/SKILL.md)
- [Agent skill: nuxt-backend-growth](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-growth/SKILL.md)
- [Agent skill: nuxt-backend-ship](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ship/SKILL.md)
- [Agent skill: nuxt-backend-ui](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-ui/SKILL.md)
- [Agent skill: nuxt-backend-upgrade](https://nuxt-backend.dev/.well-known/skills/nuxt-backend-upgrade/SKILL.md)
- [Public surface: every public name of nuxt-backend 0.6.x, as JSON](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/references/surface.json)
- [Rename map: every name a release renamed, reshaped or removed, with its upgrade note](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/references/renames.json)
- [Doctor report schema: what `npx nuxt-backend doctor --json` prints](https://nuxt-backend.dev/schemas/doctor.json)
- [Docs for agents: every machine-readable surface of this site](https://nuxt-backend.dev/docs/develop/agents/docs-for-agents)
- [Docs MCP: these docs as MCP tools at https://mcp.nuxt-backend.dev/mcp, read-only, with no sign-in](https://nuxt-backend.dev/docs/develop/agents/docs-mcp)
- [OpenAPI document: every route this site serves to agents](https://nuxt-backend.dev/openapi.json)


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
