In this chapter, we learned about several topics ranging from routing to Vapor Models to RESTful controllers. By now you should have a good understanding of how to create routes in Vapor applications and how to handle the requests to those routes. You should also be comfortable with the three different ways you can respond to a request, which are by returning a Response object, an object that implements ResponseRepresentable
protocol, and by throwing different kinds of errors. You should also be comfortable creating Vapor Models, which are like Fluent Entity but with extra functionality. You should also understand REST in more detail and know the basic commands in REST. Finally, you should be able to create a controller that is RESTful and responds to the REST actions.
In the next chapter, we will go back to the iOS app and learn how to consume the API we just created. We can fetch and save data over the network rather than just persisting the Shopping List data natively on the iOS...