movie bot code sample
This is the code repo for the movie-bot exercise in the Chatbot Workshop. The code is adapted and modified from this wonderful blog post.
Feel free to follow along with the course deck.
My favorite beginner js book: Eloquent Javascript (in-browser coding exercises)
Interactive tutorial: Codecademy (Free, no need to go pro)
git clone https://github.com/yipcma/movie-bot.git
cd movie-bot
npm install
- obtain apikey from themoviedb
- create an account, log in, go to settings, then go to API on the left panel
- edit
config.js
npm start
npm mqtt
In another terminal
curl localhost:3000/mqtt_ping
Follow the original blog post.