You need to sign in or sign up before continuing.
Commit 484f833c authored by tammam.alsoleman's avatar tammam.alsoleman

update README.md

parent e6e65000
......@@ -2,14 +2,14 @@
A distributed calculator system built with gRPC and multiple programming languages. This project demonstrates microservices architecture with three independent services communicating via gRPC.
## 📋 Prerequisites
## Prerequisites
- **Python 3.11+** (Client Gateway)
- **Go 1.21+** (Addition Service)
- **Node.js 18+** (Multiplication Service)
- **Protocol Buffers Compiler (protoc)**
## 🚀 Quick Start
## Quick Start
### 1. Clone the repository
```bash
......@@ -64,25 +64,52 @@ cd distributed-calculator
- **Input:**
```
Choose option: 1
Enter operation (add/multiply): add
Enter first number: 5
Enter first number: 2
Enter second number: 3
```
- **Output 1:**
```
Distributed Calculator System
1. Perform calculations
2. Show operation history
3. Exit
Choose option: 1
Enter first number: 2
Enter second number: 3
Addition: 2 + 3 = 5
Multiplication: 2 × 3 = 6
```
- **Input 2:**
```
Choose option: 2
```
- **Output:**
```
Result: 8
Distributed Calculator System
1. Perform calculations
2. Show operation history
3. Exit
Choose option: 2
Fetching operation history...
Addition Operation History:
[Timestamp]: 2 + 3 = 5
Multiplication Operation History:
[Timestamp]: 2 × 3 = 6
```
- **Input:**
- **Input 3:**
```
Choose option: 1
Enter operation (add/multiply): multiply
Enter first number: 4
Enter second number: 6
Choose option: 3
```
- **Output:**
```
Result: 24
Choose option: 3
Goodbye!
```
[2025-11-12 00:52:05] ADDITION: 9 + 5 = 14
[2025-11-12 00:52:24] ADDITION: 5 + 4 = 9
[2025-11-12 00:52:34] ADDITION: -10 + 5 = -5
[2025-11-12 01:31:16] ADDITION: 2 + 3 = 5
[2025-11-11T21:52:06.101Z] MULTIPLICATION: 9 × 5 = 45
[2025-11-11T21:52:24.672Z] MULTIPLICATION: 5 × 4 = 20
[2025-11-11T21:52:34.994Z] MULTIPLICATION: -10 × 5 = -50
[2025-11-11T22:31:17.055Z] MULTIPLICATION: 2 × 3 = 6
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment