Validation middlewares for Next.js API routes with Yup.
Clone this repo and run yarn install
.
- Run
yarn dev
to start the development server. - Then make requests to
http://localhost:3000/api/posts
Validation middlewares for Next.js API routes with Yup.
TypeScript