Let's take a break and tackle an extremely important topic in the development of RESTful applications: documentation on how to use the API endpoints.
Although we have not created any controller or route to be able to view the data of our API in the browser, we will introduce a new tool that will help us develop our frontend application, called the Swagger framework.
Swagger is an open source language-agnostic framework for describing, documenting, consuming, and visualizing REST APIs.
It is very common today to use public and private APIs for creating frontend web applications, and we are familiar with several APIs, such as Twitter, LinkedIn, and many others.
Documenting your application is an important part of the development process. Every API needs to be documented in order to make it easier to use and test, either by your...