Skip to content

Latest commit

 

History

History
101 lines (53 loc) · 1.31 KB

15_Connecting_to_NATS_in_a_Node_JS_World.md

File metadata and controls

101 lines (53 loc) · 1.31 KB

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

15. Connecting to NATS in a Node JS World


01. Reusable NATS Listeners


02. The Listener Abstract Class


03. Extending the Listener


04. Quick Refactor


05. Leveraging TypeScript for Listener Validation


06. Subjects Enum


07. Custom Event Interface


08. Enforcing Listener Subjects


09. Enforcing Data Types


10. Where Does this Get Used


11. Custom Publisher


12. Using the Custom Publisher


13. Awaiting Event Publication


14. Common Event Definitions Summary


Application


Application


14. Common Event Definitions Summary


15. Updating the Common Module

$ cd common
$ npm install --save node-nats-streaming

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

$ cd nats-test/
$ npm install --save @grider-ms-tickets/common

16. Restarting NATS




Marley

Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат