Generate Swagger Documentation for a Next.js API

This post teaches you how to generate Swagger documentation for your Next.js API. You also learn how to generate the OpenAPI Specification required by Swagger. In simple terms, an OpenAPI Specification is a document describing the structure of a REST API and how to interact with it. It contains…

Build a Public tRPC API: trpc-openapi vs ts-rest

When we decided to build a public-facing API at Documenso, we had to choose between creating a new application from scratch or using the existing codebase. The first option meant building the API with a technology like Node.js, for example, and launching it under a new, separate domain. The…

Make Money As A Developer By Selling APIs

Do you know you can make money by selling your APIs? Building and selling APIs is a great way to create a new source of passive income. Thus, in this article, you will see how to do that! First, you will create an API from scratch, and then you will…

Create Custom API Endpoints in Nuxt

Did you know you can create custom API endpoints in Nuxt.js? That means you do not have to spin a standalone server. Instead, you can do it straight in your Nuxt application! In this article, you will see how to do it. You will create a simple Express server…

Track Job Applications With Notion API, Node.js and FastifyJS

Notion is a productivity software that allows you to create systems for knowledge management, project management and note-taking. They recently released their API to the public. You can use the API to integrate your Notion data to any application you want. Thus, this article shows you to: * build a Node.…

Build A REST API With HarperDB and FastifyJS

This article will teach you how to use Node.js, Fastify and HarperDB to build a course management system. This application will help you track the courses you are doing and the courses you plan to do. You will use the following technologies: * Node.js * HarperDB * Fastify Introduction When it…