shadcn / nextjs-middleware-validation

Validation middlewares for Next.js API routes with Yup.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nextjs-middleware-validation

Validation middlewares for Next.js API routes with Yup.

Installation

Clone this repo and run yarn install.

Test

  1. Run yarn dev to start the development server.
  2. Then make requests to http://localhost:3000/api/posts

Run in Postman

About

Validation middlewares for Next.js API routes with Yup.


Languages

Language:TypeScript 100.0%