From 5bb4fe6dd7f4097111cc8d154e6135a4bbcd4de0 Mon Sep 17 00:00:00 2001
From: Christian Raphael Heryanto <christian.raphael@ui.ac.id>
Date: Fri, 28 Mar 2025 12:51:15 +0800
Subject: [PATCH] Reflection Publisher-2

---
 README.md | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/README.md b/README.md
index d7bb31b..391a7eb 100644
--- a/README.md
+++ b/README.md
@@ -100,4 +100,16 @@ This implementation utilizes both DashMap and Singleton pattern (lazy_static). B
 
 #### Reflection Publisher-2
 
+##### Separation of Service and repository from a Model
+
+The separation of "Service" and "Repository" is done to fit the Single Responsibility Principle which states that each component should have only one responsibility and only one reason to change. In this case, model focuses on data structure, repository to hand data access and service contains the business logic.
+
+##### Without Separation
+
+Using models only to handle everything in BambangShop would impact the codebase and future maintenance negatively. It would cause complex dependencies which in result would stray from Open/Close Principle due to the need of refactoring multiple codes for one small update.
+
+##### Postman
+
+Personally, this has helped me alot in API testing. It allows me to make repeated requests quickly, which gives me more time to analyze and debug where my program went wrong. The environment variable interests me alot, as this feature lets us define certain variable such as BASE_URL and PORT which then can be used in the request creation.
+
 #### Reflection Publisher-3
-- 
GitLab