Skip to content
forked from fuselabs/echobot

A sample bot for getting started with Bot Framework

License

Notifications You must be signed in to change notification settings

saridsa1/echobot

 
 

Repository files navigation

Probot

A sample bot for demonstrating the usage of the popular messaging platform skype to enable PRO. This repository was created as a part of Hackathon 2017\

This repo uses Node.js to build a bot, which is hosted on Azure and uses continuous deployment from Github.

Here's how to use this bot as a starter template for your own Node.js based bot:

  1. Fork this repo.
  2. Create an Azure web app.
  3. Set up continuous deployment to Azure from your Github repo. You will be asked to authorize Azure access to your GitHub repo, and then choose your branch from which to deploy.
  4. Verify the deployment has completed by visiting the web app. http://echobotsample.azurewebsites.net/. It may take a minute of two for the initial fetch and build from your repo.
  5. Register your bot with the Bot Framework using https://echobotsample.azurewebsites.net/api/messages as your endpoint.
  6. Enter your Bot Framework App ID and App Secret into Azure settings.
  7. Test the connection to your bot from the Bot Framework developer portal.

##Testing locally

##Helpful hints:

  • Your web app will deploy whenever you git push to your repo. Changing the text of your index.html and visiting your homepage is a simple way to see that your latest deployment has been published to Azure.
  • Azure "knows" your app is a NodeJs app by the presence of the "server.js" file. Renaming this file may possibly cause Azure to not execute NodeJs code.
  • Azure app settings become NodeJS process.env variables.
  • Use https when specifying URLs in the Bot Framework developer portal. Your app secret will not be transmitted unless it is secure.
  • The sample data structure JSON file included in this repository is a contains a sample database that is uploaded to firebase
  • The firebase JSON file is included to perform the authorization to firebase
  • An out bound rule needs to be implemented in the Azure VM to enable access to firebase

About

A sample bot for getting started with Bot Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 67.1%
  • JavaScript 26.0%
  • HTML 6.9%