This section covers what you will need to have running on your machine so that you can write this microservice. The following components will 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. All code in this chapter will run on macOS and Linux alike.
The GitHub URL for this chapter is https://github.com/PacktPublishing/Hands-On-Swift-5-Microservices-Development/tree/master/Chapter 9/ProductService.
Now, let's start by setting up the project.