In this tutorial I’ll show how to piece together the required NPM modules to build a REST API in Node.js with proper Swagger documentation. We’re going to use Express as the HTTP framework, and the Swagger documentation will be written as inline comments within the code, as close as possible to the handling endpoint or models that will implement the contract, so it will be harder for them to eventually diverge.

Continue reading

Author's picture

Daniel Pecos Martínez

Passionate fullstack developer. JVM languages, Node.js, Golang & frontend. Blogger, father and active technology local group member.

Fullstack Developer

Amsterdam