One module · twelve layers · six services
The backend,machined for Nuxt.
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.
npx nuxt module add nuxt-backendUnder the hood · one layer over all of them
- Convexdatabase, functions, files, scheduler, AI Gateway
- Better Authsessions, codes, passkeys, workspaces
- Polarcheckout, subscriptions, meters, portal
- Resendsending, delivery events, topics
- Vercelhosting, bot checks, firewall
- Sentryerrors, cron monitors, uptime
Your code calls the package, and the package calls them. Each service keeps its own dashboard and pricing; none of their SDKs reach your pages.
Twelve layers · one package
Everything behind a client app.
Each layer is a part of the backend a product needs before its first user signs in. Every one has its pages, its components and its checks, and turns on when its key is set.
- AuthSign-in codes and passkeys, workspaces, launch phases and invites
- DataRealtime queries, search, checked uploads and share links
- JobsWorkflows, schedules, queues and retention
- BillingPlans, credits, promotions, gifts and referrals
- EmailBranded templates, topics and one-click unsubscribe
- NotificationsPlannedAn in-app inbox and web push, each kind opted into
- AIExperimentalMetered model calls, generation jobs and chat
- ProtectionBot checks, rate limits and content safety
- MonitoringErrors, cron monitors and a health endpoint
- FlagsRollouts, kill switches and a maintenance banner
- AnalyticsPlannedRevenue, usage and the growth funnel in the admin console
- HostingVercel first, any Nuxt host, one-command production
npx nuxt-backend doctor
One command checks it all.
Turn the dial: each detent runs doctor --only for one app layer and shows what your terminal prints for an app that is set up, warnings and their fixes included.
- $ npx nuxt-backend doctor --only auth
- ✓ Auth secret: AUTH_SECRET is set on the deployment (its value is not visible here).
- ✓ App site URL: SITE_URL is set on the deployment (its value is not visible here).
- ✓ Deployment AUTH_SECRET: AUTH_SECRET is set on the deployment.
- ✓ Deployment SITE_URL: SITE_URL is set on the deployment.
- ✓ Page paths: The deployment serves on and links to the paths nuxt.config declares.
- 5 checks ✓
All in one
One package, not twelve integrations.
The services stay best in class. What you stop writing is the glue between them: the webhooks, the retries, the pages and the checks that every app rebuilds.
One API over every service
Your code calls useCredits() and email.send(), never a provider's SDK. Brand names stay in the docs.
PrinciplesLayers 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 layersPages and components included
Sign-in, account, pricing, workspaces and the admin console ship ready, in your theme, every string a label.
Pages and componentsReal 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 sandboxesTyped 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.
ErrorsReady for coding agents
Task skills, AGENTS.md and one developer MCP server that knows your project and the services under it.
Build with agents
Ready in one command
Install the module.Run nuxt-backend dev. Ship.
Add nuxt-backend to your modules. The first nuxt-backend dev scaffolds the Convex files and fills in the environment for you, nothing to set by hand: real-time data and Better Auth, working.
npx nuxt module add nuxt-backend