
Swagger for NodeJs Express REST API - Document your API like a professional
In this video we will extend our REST API with an interactive documentation using Swager. This allows our users to very quickly test and see what the API is about.
#nodejs #swagger #express #restapi
Code at the start of the video https://github.com/TomekQ13/bookstore...
Code at the end of the video https://github.com/TomekQ13/bookstore... It contains slightly different way to exclude the Swagger app from the api key authorization. Instead of excluding requests where originalUrl includes api-docs the api key validation is used only by the book router.
00:00 Intro
03:13 Setting up Swagger
22:23 Describing routes
43:40 Final documentation
#JavaScript, #LearnToCode, #CodingTips, #WebDevelopment, #Frontend, #Fullstack, #Programming, #CodeNewbie

