Skip to main content
Next REST Framework logo

Next REST Framework

Type-safe, self-documenting APIs for Next.js

Next REST Framework demo

Type-safe

No more untyped API calls. The automatic type-inference from object-schemas provide a type-safe API and all the benefits of TypeScript.

Self-documenting

The auto-generated OpenAPI documentation provides a self-documenting API and a great developer experience. No more endless JSDoc-annotations or manual API specification.

Lightweight

Next REST Framework ships with minimal dependencies and is designed to be lightweight and performant.

Easy to use

You can get started with a very minimal configuration while still enjoying all the benefits of Next REST Framework.

Reuse validation logic

With Next REST Framework you can reuse your validation logic in your API and in your frontend. Simply plug in your object-schemas and you are good to go.

Extendable

Next REST Framework won't break any of your existing API routes. The API is designed to be customizable and extendable.