Building a Slack Bot with Node.js Microservices

Building a Slack Bot with Node.js Microservices

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 9m | 353 MB

Build a microservice-based system using Node.js. In the industry, Node.js is widely used to implement microservices that consume and provide APIs. In this course Daniel Khan covers the architectural considerations one has to take when building a system based on microservices and shows how to implement a resilient, natural language-aware Slack bot with Node.js. This course is designed to give you the knowledge to build out more complex architectures based on the framework created during the lessons.

After explaining some basics about Node.js and microservices, Daniel shows you how to sketch out the planned architecture for your application and get the boilerplate code, modules, and credentials in place. Next, he shows how to create a bot user in Slack, connect to Slack, and post messages. He also shows you how to get your bot to process variations in text by creating logic that delegates the processing of intent to dedicated modules. Lastly, he shows how to register additional services and he covers how to use monitoring to identify architectural or performance issues.

Topics include:

  • Using Slack APIs
  • Sketching out a Slack bot architecture
  • Setting up a project and choosing modules
  • Creating and naming your bot
  • Connecting to Slack
  • Setting up and using natural language processing
  • Routing by intents
  • Implementing geocoding and time calculation
  • Adding and monitoring services
Table of Contents

1 Welcome
2 What you should know
3 Working with the exercises
4 What we are going to build
5 Why use microservices_
6 Explore the Slack APIs – Real Time Messaging and WebSockets
7 Sketch out the Slack bot architecture
8 Set up our project
9 Choose modules versus ‘from scratch’
10 Create our Iris bot user
11 Connect to Slack
12 Bring Iris to life
13 Set up natural language processing
14 Use natural language processing
15 Route by intents
16 Sketch out a time microservice
17 Implement geocoding
18 Implement time calculation
19 Wire up the time microservice
20 Make microservice architectures resilient
21 Add service registry route
22 Add registry subscription to time service
23 Add service registry class
24 Use service registry in intent handlers
25 Add a weather service
26 Monitor your service architecture
27 Next steps