Background

The following list captures few such use cases:

  • Send reminder emails periodically to customers for completing onboarding process if they drop off.
  • Cancel the membership…

One of the core principle for Micro services is that they are expected to be decoupled from other domains as much as possible but in real world there are use cases where your service may have to aware of the multiple different domains.

Scenario:

Summary

The objective of this article is to use the Event Storming for understanding the domain and for coming up with domain model for Subway (A fast food restaurant franchise).

The intention of this exercise to cover basic use cases. Please feel free to provide suggestions for improvements.

Event Storming

[Wikipedia] Event storming

Purpose

This article mainly focuses on back-end and doesn’t cover front-end, databases and deployment models.

Interview Question

Approach

Step 2 : Identify and list down the activities for each actors.

Atul Agarwal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store