
HR Bot: Database setup
Node.JS | Microsoft Bot Framework | HR BOT | 1 LessonCourse description
In this lesson, I will setup a database connection for my HR bot application.
For this lesson, you need a mysql database server. In my case I run it locally, but you can also run in on any remote web hosting.
You can download HR.SQL file attached to this course. It contains 2 mysql tables inside. We will install mysql module for our bot application.
I will also show you how to work with MySQL and how to introduce a delay before attempting to reconnect to your database, to avoid a hot loop, and to allow your node script to process asynchronous requests in the meantime.