Skip to content

Commit e0eb9cf

Browse files
authored
Update README.md
1 parent 1b922b1 commit e0eb9cf

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ For more information about this example, see the [Monolithization](https://oatpp
3636
$ ./build_all.sh
3737
```
3838

39-
### Run as separate applications
39+
### Run as microservices
4040

4141
```bash
4242
$ ./run_all_microservices.sh
@@ -47,3 +47,22 @@ $ ./run_all_microservices.sh
4747
```bash
4848
$ ./monolith/all-services/build/all-services-exe
4949
```
50+
51+
## Overview
52+
53+
<img src="https://raw.githubusercontent.com/oatpp/example-microservices/master/diagram.svg?sanitize=true">
54+
55+
Facade takes book info from book-service, user info from user-service, merges data, and returns to the client.
56+
57+
### Service ports
58+
59+
- Facade - 8000
60+
- User - 8001
61+
- Book - 8002
62+
63+
### Example curl
64+
65+
```
66+
$ curl http://localhost:8000/books/4
67+
{"id": 4, "title": "1984", "author": {"id": 4, "name": "George Orwell"}}
68+
```

0 commit comments

Comments
 (0)