In the previous chapter, we saw how to develop web applications with the Spring Boot framework and expose the endpoints using REST (representational state transfer) APIs, although traditional web technologies can be utilized for providing REST web services, REST has become the de facto standard for communicating, and specialized REST frameworks are relevant in the world where servers would expose only REST APIs, but no user interface. In this chapter, we will cover web frameworks to build RESTful web services made with Kotlin in mind. These web frameworks will help you bootstrap your web applications in Kotlin. We will give an overview of all the web frameworks in Kotlin and build our news feed application using the Ktor web framework by JetBrains.
In this chapter, we will build our news feed application as RESTful web services&...