Frourio Next

Skills for building type-safe Next.js API routes with frourio-next. Covers project setup, adding endpoints, middleware, and client usage with SWR/TanStack Query. Use when this capability is needed.

tomevault-io Updated

File contents

This skill set provides guidance for working with frourio-next, a type-safe API framework for Next.js App Router.

Available skills

  • setup.md — Integrate frourio-next into an existing Next.js project
  • add-endpoint.md — Add a new API endpoint with frourio.ts and route.ts
  • add-middleware.md — Add middleware for authentication, authorization, logging, etc.
  • client-usage.md — Use the auto-generated type-safe client (fc/$fc) with SWR and TanStack Query
  • testing.md — Write tests for API routes using MSW and Vitest

Source: frourios/frourio-next — distributed by TomeVault.

tomevault-io/skills-registry/tree/main/frourios--frourio-next--frourio-next commit 5b25abc935

Frequently asked questions

npx skillmds@latest add tomevault-io/frourio-next