This section covers what you will need to have running on your machine so that you can write this microservice. The following components need to be installed:
- Vapor Toolbox
- Swift 5.2+
- XCode 11+
- macOS/Linux
We are also assuming that you have worked through the previous chapters and know how to write a Vapor microservice. Going through the creation of this microservice will focus on the new elements, not what was covered in Chapter 7, Writing the User Service. Further, we will assume you are using macOS going forward. All features would work the same under Linux, however. You can find the code for this chapter on GitHub: https://github.com/PacktPublishing/Hands-On-Swift-5-Microservices-Development/tree/master/Chapter 11/OrderService.
Now let's start by setting up the project.