Understanding project setup and folder structure

Let's start by setting up the folders for our project. It is important for a microservice project to have a clean folder setup to keep everything organized. We will need folders for the following microservices:

  • OrderService: Our order processing service, which processes the payment and saves the order
  • ProductService: Our product service that delivers the product information
  • UserService: Our user service that manages user accounts

Follow the steps given here:

  1. Create a new folder for the project and name it Shop Backend. You can put this folder anywhere on your computer. You want to keep everything organized in one central place on your development machine.
  1. Create a template folder and move ...

Get Hands-On Swift 5 Microservices Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.