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

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • next-rest-framework

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

  • Yup

    Dead simple Object schema validation

  • Inspired by popular REST API frameworks like Django REST Framework and FastAPI, I wanted to create an alternative for Next.js, that will handle type-safe validation of your Next.js API routes using object-schema libraries like Zod and Yup and generate the OpenAPI specifications and Swagger UI straight out of your business logic. Another heavy inspiration for this project was tRPC and I wanted to extend it's functionality for REST APIs, specifically.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • zod

    TypeScript-first schema validation with static type inference

  • Inspired by popular REST API frameworks like Django REST Framework and FastAPI, I wanted to create an alternative for Next.js, that will handle type-safe validation of your Next.js API routes using object-schema libraries like Zod and Yup and generate the OpenAPI specifications and Swagger UI straight out of your business logic. Another heavy inspiration for this project was tRPC and I wanted to extend it's functionality for REST APIs, specifically.

  • django-rest-framework

    Web APIs for Django. 🎸

  • Inspired by popular REST API frameworks like Django REST Framework and FastAPI, I wanted to create an alternative for Next.js, that will handle type-safe validation of your Next.js API routes using object-schema libraries like Zod and Yup and generate the OpenAPI specifications and Swagger UI straight out of your business logic. Another heavy inspiration for this project was tRPC and I wanted to extend it's functionality for REST APIs, specifically.

  • fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  • Inspired by popular REST API frameworks like Django REST Framework and FastAPI, I wanted to create an alternative for Next.js, that will handle type-safe validation of your Next.js API routes using object-schema libraries like Zod and Yup and generate the OpenAPI specifications and Swagger UI straight out of your business logic. Another heavy inspiration for this project was tRPC and I wanted to extend it's functionality for REST APIs, specifically.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts