Menu

e-commerce microservices

1. Product Catalog

2. Shopping Cart

3. Order Management

4. Inventory Management

5. User Management

6. Payment Processing

-------------------------------

4 microservices;

- 1 microservice for itens 1, 2 and 3 (admin)

- 1 microservice for item 4 (because only the admin users will use, so it don't need to be scalated in the same level as other microservices)

- 1 microservice for item 5 (authentication, authorization, user profile, preferences, etc)

- 1 microservice for item 6 (payment), integrating with 3rd part. It needs to have all best practices and tools so we can assure that the service will not fail.

 

The "User Management" service don't have any dependency, so it can be develop firstly or independently at first.

The "Inventory Management" is necessary so that I can create the "Product Catalog". So, I can add itens to the "Shopping Cart". Then we have "Order Management". In the end, we buid the "Payment Processing", that depends of every itens before.

At first I will develop everything in Node.js. But it depends if there's a better approach for a specific microservice. I will use Docker and Kubernets to containerizate and to manage it. I can use AWS to handle DevOps, server, scaling, etc. Depending on the case I can use MongoDB (NoSQL) or MariaDB (SQL) databases.