Skip to content

nuxt-feathers-zodFeathersJS v5 + Zod for Nuxt 4

A backend-first Nuxt module to embed Feathers inside Nitro or connect a typed Feathers client to a remote API, with a CLI-first workflow designed for real package publishing.

Feather logo

Start here

Pick the path that matches your first goal:

What NFZ is really about

nuxt-feathers-zod is not just a client SDK. It is a Nuxt 4 + Feathers v5 foundation for teams who want:

  • an embedded server inside Nitro when a mono-repo full-stack app makes sense,
  • a remote client layer when the API already exists elsewhere,
  • a CLI that generates the important pieces instead of hand-wiring them,
  • a path toward auth, Mongo management, diagnostics and builder tooling.

Shortest supported path

bash
bunx nuxi@latest init my-nfz-app
cd my-nfz-app
bun install
bun add nuxt-feathers-zod
bun add -D @pinia/nuxt
bunx nuxt-feathers-zod init embedded --force
bunx nuxt-feathers-zod add service users
bun dev

Golden rules

  • Keep feathers.servicesDirs = ['services'].
  • Generate services through the CLI.
  • Do not hand-create your first service if you want to stay on the supported path.
  • In remote mode, feathers.templates.dirs stays optional.

Release discipline

The public module is now aligned around four simple checks:

bash
bun run build
bun run typecheck
bun run test:e2e
bun run smoke:tarball

See also:

nuxt-feathers-zod module documentation