You made it! The theoretical part is mostly done, and we are now talking code! In this chapter, you will write your first microservice. However, before we write it, you will be introduced to the practical parts of a Vapor application. Using the Vapor framework will help you to write apps faster than if you were to start from scratch. By the end of this chapter, you will have written your first microservice and incorporated the necessary pieces.
In this chapter, you will learn how to develop a generic microservice that will serve as the basis for our online shop backend application. This will also be the basis for all the other services that we will write throughout this book. We will develop a template that will be used to create other services and that you could use for your own projects as well. By the end of this chapter, you will have written...