Skills / Engineering / Nitro Server Engine

Nitro Server Engine

Build universal server-side apps with Nitro, the engine behind Nuxt. Create API routes, server middleware, cached handlers, and deploy anywhere — Vercel, Cloudflare, Deno, Bun, or Node.js.

This skill helps you build portable server applications with Nitro. It generates API route handlers, server middleware, cached endpoints with stale-while-revalidate, WebSocket handlers, scheduled tasks, and storage adapters — with automatic output for 15+ deployment targets.

nitro server universal nuxt edge

When to use

Use when building universal server-side APIs, creating Nuxt server routes, or when you need a portable server engine that deploys to any platform without code changes.

Examples

API with caching

Create cached API routes with SWR

Build Nitro API routes for a product catalog with stale-while-revalidate caching, proper cache invalidation, and storage adapter for Redis

Multi-platform deploy

Deploy the same code to multiple targets

Configure my Nitro app to deploy to both Cloudflare Workers and Vercel Edge Functions with platform-specific environment variables
Added to wishlist