- Create a folder for the project workspace
- Install Node.js
- Run npm init to start node project, follow the prompt in terminal for creating the package.json file
- Install Bot SDK for Node.js run npm install - -save botbuilder
- Install Restify run npm install - -save restify
- Download Emulator for testing
- Create an app.js file in project directory
- Set up bot and connector listening on an endpoint
- Set up qnadialog and connect default bot to qnadialog
- Test the bot in the emulator run node app.js (start the emulator and connect bot to it)
Logging of messages in database
- Run npm install mongoose
- Connect to database
- Define schema of messages and model of conversations
- Save messages and conversations to mongoDB