<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://next-rest-framework.vercel.app/blog</id>
    <title>Next REST Framework Blog</title>
    <updated>2022-12-14T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://next-rest-framework.vercel.app/blog"/>
    <subtitle>Next REST Framework Blog</subtitle>
    <icon>https://next-rest-framework.vercel.app/img/favicon.ico</icon>
    <entry>
        <title type="html"><![CDATA[Announcing Next REST Framework]]></title>
        <id>announcing-next-rest-framework</id>
        <link href="https://next-rest-framework.vercel.app/blog/announcing-next-rest-framework"/>
        <updated>2022-12-14T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[Next REST Framework is an open-source, opinionated, lightweight, easy-to-use set of tools to build type-safe, self-documenting APIs with Next.js. Building OpenAPI specification-compliant REST APIs can be cumbersome and slow but Next REST Framework makes this easy with auto-generated OpenAPI documents and docs using TypeScript and object schemas.]]></summary>
        <content type="html"><![CDATA[<p>Next REST Framework is an open-source, opinionated, lightweight, easy-to-use set of tools to build type-safe, self-documenting APIs with <a href="http://nextjs.org/" target="_blank" rel="noopener noreferrer">Next.js</a>. Building OpenAPI specification-compliant REST APIs can be cumbersome and slow but Next REST Framework makes this easy with auto-generated OpenAPI documents and docs using TypeScript and object schemas.</p><ul><li><a href="https://next-rest-framework-demo.vercel.app" target="_blank" rel="noopener noreferrer">Live demo</a></li><li><a href="https://next-rest-framework.vercel.app" target="_blank" rel="noopener noreferrer">Docs</a></li></ul><h3 class="anchor anchorWithStickyNavbar_fh6a" id="lightweight-type-safe-easy-to-use">Lightweight, type-safe, easy to use<a class="hash-link" href="#lightweight-type-safe-easy-to-use" title="Direct link to heading">​</a></h3><ul><li>Designed to work with TypeScript so that your requests and responses are strongly typed.</li><li>Object-schema validation with <a href="https://github.com/colinhacks/zod" target="_blank" rel="noopener noreferrer">Zod</a>. The object schemas are automatically converted to JSON schema format for the auto-generated OpenAPI specification.</li><li>Auto-generated and extensible <code>openapi.json</code> spec file from your business logic.</li><li>Auto-generated <a href="https://github.com/Redocly/redoc" target="_blank" rel="noopener noreferrer">Redoc</a> and/or <a href="https://swagger.io/tools/swagger-ui/" target="_blank" rel="noopener noreferrer">SwaggerUI</a> documentation frontend.</li><li>Works with Next.js <a href="https://nextjs.org/docs/app/building-your-application/routing/middleware" target="_blank" rel="noopener noreferrer">Middleware</a> and other server-side libraries, like <a href="#https://github.com/nextauthjs/next-auth">NextAuth.js</a>.</li><li>Supports both Next.js <a href="https://nextjs.org/docs/app/building-your-application/routing#the-app-router" target="_blank" rel="noopener noreferrer">app router</a> and <a href="https://nextjs.org/docs/pages/building-your-application/routing" target="_blank" rel="noopener noreferrer">pages router</a>, even at the same time.</li><li>Fully customizable and compatible with any existing Next.js project.</li></ul>]]></content>
        <author>
            <name>Markus Blomqvist</name>
            <uri>https://github.com/blomqma</uri>
        </author>
        <category label="Next.js" term="Next.js"/>
        <category label="REST" term="REST"/>
        <category label="API" term="API"/>
        <category label="TypeScript" term="TypeScript"/>
        <category label="OpenAPI" term="OpenAPI"/>
    </entry>
</feed>