Skip to content

Commit dfe852e

Browse files
committed
Better readme
1 parent f0973f4 commit dfe852e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
# postalcode-spawn-demo
1+
# Postalcode Spawn Dema
22

33
Java demo project using [Spawn](https://github.com/eigr/spawn) to find postal codes at [ViaCEP](https://viacep.com.br).
44

5-
# Start Spawn
5+
## Locally start `Spawn Proxy` and some dependencies
6+
67
```bash
78
docker network create spawn-demo
89
docker-compose up mariadb nats spawn
910
```
1011

11-
# Start Actor
12+
## Start Java `ActorHost` application
13+
1214
```bash
1315
docker-compose up app
1416
```
1517

16-
# Test
18+
## Test
19+
1720
```bash
1821
# Request PostalCode
1922
curl -v -H 'Content-Type: application/json' -d '{ "postalCode": "03694090" }' 'http://localhost:8080/postalcode'

0 commit comments

Comments
 (0)