A repo for training
Clone or download
Latest commit bdd65ef Oct 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets [ADD] logo Feb 27, 2018
discover-movies [FIX] themoviedb.org image Oct 17, 2018
.gitignore [ADD] gitignore Oct 17, 2018
LICENSE [INIT] repo Jan 8, 2018
README.md Update README.md Feb 27, 2018
config.js [INIT] repo Jan 8, 2018
index.js [INIT] repo Jan 8, 2018
package.json [INIT] repo Jan 8, 2018

README.md

Movie Bot Skills Training

Movie Bot Skills Training using Recast.AI

This is the backend for the skills for the Movie Bot Skills Training workshop

Follow the instructions below to create your own instance of the bot:

Step 1: Clone the project & install ngrok

  1. Git clone this project locally on your computer
  2. Install Ngrok

Step 2: Get your Recast.AI bot

  1. Make sure you are logged in to your Recast.AI account
  2. Follow this link Movie Bot Skills Training and fork the bot to your account

Step 3: Get your The Movie DB API key

  1. Make sure you are logged in to your The Movie DB account
  2. Follow this link The Movie DB API and follow the steps to get your API key
  3. Setup your token for The Movie Database either in ./config.js or as environment variables : MOVIEDB_TOKEN.

Step 4: Start your bot

  1. Make sure your bot and ngrok are running on your computer on the port 5000 (You can also change the port of the API in ./config.js)
  2. Then you need to go to the settings of your bot on Recast.ai and change the field Bot base URL to the URL of your server with the https URL of ngrok.

To start the API after cloning the project:

npm install
npm start

To launch ngrok:

./ngrok http 5000

Requirements

Node version

  • v6.0 or higher required
  • ngrok
  • The Movie Database token

Authors

Nathan Grasset @Nathan_Grasset

PE Lieb @liebpe

You can follow us on Twitter at @recastai for updates and releases.

Special thanks

License

Copyright (c) [2017] Recast.AI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.