We are a wholesale marketplace and we have three main products in our startup. The products are:
1- the marketplace app that allows customers to view products and purchase online.
2- the seller app that allows the sellers to list their products and see review incoming orders.
3- the courier app that allows drivers to receive order requests and then they do the fulfilment.
We are planning to have those three products separated so each product will have its own team, its own backend, and frontend. Each product may have a different tech stack.
My question is how these products shall communicate. We are considering two options either using API or using a message broker such as RabbitMQ.
What do you think about which options should we consider?