# [Stephen Grider] Microservices with Node JS and React [ENG, 2020]

# 18. Understanding Event Flow

<br/>

### 01. Orders Service Events

<br/>

![Application](/img/pic-18-01.png?raw=true)

<br/>

![Application](/img/pic-18-02.png?raw=true)

<br/>

![Application](/img/pic-18-03.png?raw=true)

<br/>

### 02. Creating the Events

    $ cd common
    $ npm run pub

<br/>

    $ cd orders
    $ npm update @grider-ms-tickets/common

<br/>

### 03. Implementing the Publishers

<br/>

### 04. Publishing the Order Creation

<br/>

### 05. Publishing Order Cancellation

    $ cd common
    $ npm run pub

<br/>

    $ cd orders
    $ npm update @grider-ms-tickets/common

<br/>

### 06. Testing Event Publishing

<br/>

---

<br/>

**Marley**

Any questions in english: <a href="https://jsdev.org/chat/">Telegram Chat</a>  
Любые вопросы на русском: <a href="https://jsdev.ru/chat/">Телеграм чат</a>
