Enterprise Service Bus Example

overview diagram of solution

CRM Web Service

Add Client

curl --location --request POST 'http://localhost:3000/client' \
--header 'Content-Type: application/json' \
--data-raw '{
    "fullname": "Álvaro Stagg",
    "email": "[email protected]",
    "phone": "0123456789"
}'

List Clients

curl --location --request GET 'http://localhost:3000/client'

Inventory Web Service

Add Item

curl --location --request POST 'http://localhost:3060/items' \
--header 'Content-Type: application/xml' \
--data-raw '<item>
    <name>Sopa</name>
    <stock>11</stock>
</item>'

List Items

curl --location --request GET 'http://localhost:3060/items'

License

This is an educational project for our Software Engineer III course. This project may not be used under production environments and will no receive any update after we’ve approved our course.

Authors

GitHub

View Github