GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — webhooks-course/notes.md at main · TwilioDevEd/webhooks-course

This repository was archived by the owner on May 13, 2025. It is now read-only.

Expand file tree

/

notes.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
195 lines (120 loc) · 8.62 KB
/

notes.md

Copy path

File metadata and controls

195 lines (120 loc) · 8.62 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Learn to code with TwilioQuest

Understanding Webhooks

Unit 1 - Integration

In this unit we will focus on combining applications together. We'll do this by handling events triggered by applications.

Video 1 - Welcome

Prerequisites

  • 🍿 APIs for Beginners - freeCodeCamp

Learn more

  • 📚 freeCodeCamp.org
  • 🍿freeCodeCamp on YouTube provides a wonderful collection of beginning programming courses. I recommend the 🎥 JavaScript tutorial.

Video 2 - Defining Events, Handlers, and Hooks

  • 📚 Web Events

Learn more

  • 📚 Event Driven Programming

Video 3 - Lightbulb moment

Ideas

  • 💡 Think about the weather. Do you want to use the light if it gets rainy/snowy/chilly/hot?
  • 💡 What about your location? Want to trigger something when you leave a certain area at a certain time?
  • 💡 Think about notifications you get on your phone. Would those be cool to light up the weird dog lamp thing?
  • 💡 What about controlling your lights based on a text message?

Learn more

  • 🐶 🛋️ The dog lamp LIFX lightbulb

Video 4 - Finding Inspiration

Unit 2 - Capturing Data from a Webhook

In this unit we'll take a look at a specific Webhook implementations GitHub and Discord.

Video 1 - Diving into Webhooks

  • 📰 First blog post about "Web hooks" - Wayback machine
  • 📹 Web Hooks and the Programmable World of Tomorrow- 2009 talk about Webhooks @ Google

Video 2 - Explore the Request

  • 🧰 Beeceptor

Learn more

  • 🎮 TwilioQuest - The Flame of Open Source - Learn to use GitHub

Video 3 - Using the Data

  • Best Developer Communities to be a part of in 2020 - freeCodeCamp.org

Video 4 - Developing Locally

⚠️ I made a mistake! I cloned in my ~/Code directory because I forgot to cd courses.

Installations

  • 🍿 What is the terminal and why should I use it? - Developer Fundamentals - YouTube
  • 🍿 What is the file system and why should I learn about it? - Developer Fundamentals - YouTube
  • 14 ways to open Command Prompt in Windows 10
  • Install Git
  • Install Node
  • Install npm
  • Install Visual Studio Code
  • Optional - Connect GitHub with ssh

Video 5 - Opening a Tunnel

Installations

  • 🍿 What is my System Path? - Developer Fundamentals - YouTube
  • Install ngrok
  • Install ngrok to your path - Stack Overflow

Install nodemon:

npm install -g nodemon

Learn more

  • 🍿 The making of ngrok - Alan Shreve (ngrok)

Video 6 - Serverless

  • Netlify
npm install netlify-cli -g

Learn more

  • Making asynchronous programming easier with async and await
  • Netlify Dev - Local server
  • Cloud Computing Providers - GitHub
  • 🍿 What do tutorials mean when they say my shell? - Developer Fundamentals - YouTube

🖊 Correction

📓 I figured out what my problem was! After you change environment variables in Netlify, you need to re-deploy. That's the reason it worked once I re-deployed it. I decided to keep the bugs in there so you know that we all make mistakes. Also it should give you some first hand knowledge of how to debug a webhook.

I hope you enjoy the lemonade made from the lemons of that bit 🍋s.

Unit 3 - Hooking it altogether

In this unit we'll build an entire application that leans almost entirely on the concept of Webhooks. We'll build an idea capturing hotline that transcribes the ideas and then sends you a text message.

Video 1 - Introducing the projects

Video 2 - Text Affirmation

  • Twilio Signup
  • How to use your free trial account - Twilio Docs

The following TwiML will send a text message when set up to handle incoming messages.

<Response>
    <Message>You got this!💪</Message>
</Response>

This is using a Webhook. When the message comes in, control is passed to your application (it just happens to be in a TwiML Bin), and you return these instructions.

📚 Learn more

  • 📚 <Message> - Twilio Docs
  • 📚 TwiML Bins

Video 3 - Setting up the flow

Learn more

  • 📚 <Say> - Twilio docs
  • 📚 Polly Neural voices - Amazon docs
  • 🧰 Twilio Studio

Video 4 - Handle things locally

  • 📚 Twilio CLI Quickstart
npm install twilio-cli -g

Optionally on a Mac, you could use Homebrew

brew tap twilio/brew && brew install twilio

Install the Serverless Toolkit plugin:

twilio plugins:install @twilio-labs/plugin-serverless

Serverless Function boilerplate:

exports.handler = (context, event, callback) => {
  callback(null, "Hi mom!");
};

Start your local development server

twilio serverless:start

Video 5 - Deploying your serverless function

twilio serverless:deploy

Video 6 - That’s a Wrap

  • 🎮 TwilioQuest - Learn to code and save the cloud
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.