Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Twilio / Node - SMS booking system using Twilio and Node.Js
Rating: 4.4 out of 5(48 ratings)
694 students

Twilio / Node - SMS booking system using Twilio and Node.Js

Build a complete SMS booking system using Twilio and Node.Js that receives and send messages to create a new appointment
Created byIcaro Lavrador
Last updated 4/2021
English

What you'll learn

  • How to create a complete SMS booking system using Twilio and Node
  • How to send SMSes
  • How to receive SMSes
  • How to use Twilio to send SMS
  • How to use NodeJs to manage send and receive SMS

Course content

13 sections47 lectures3h 8m total length
  • Before we signup to Twilio1:01
  • Creating a Twilio Account2:13

    Create a Twilio account, verify email and phone, and start the free trial to access initial credits as a student. Learn how to buy your first number.

  • Buying a Twilio Number (for free)3:40

    Learn how to obtain a free trial Twilio number, search and release numbers by country, compare SMS availability and pricing, and purchase a number for SMS testing, including US testing.

  • Creating the API key and secrete to access Twilio safely1:48

    Create a restricted API key in settings, prefer a bystander key to limit access, and securely store the secret in a file since it won’t be shown again.

  • Initialising the Node.js backend with Twilio, Express and dotEnv (.env)4:42

    Initialize a Node.js backend for Twilio with Express and dotenv, create environment variables in .env, secure tokens and account details, and commit best practices for version control.

  • Setting up Twilio and dotEnv (.env)4:21

    Set up dotEnv and environment variables for Twilio, initialize tokens and account credentials in a backend folder, and prepare to send SMS via Express in upcoming steps.

Requirements

  • Minimum knowledge in programming (any language will do)
  • A free Twilio account (step by step in how to setup one in the course)
  • Desire to learn and be a amazing developer

Description

Twilio the world's leading cloud communications platform as a service (CPaaS) that enables you to develop SMS solutions, WhatsApp, Voice, Video, email, and even IoT. Twilio powers communications for more than 190,000 businesses and enables nearly 932 billion human interactions every year.

This course will leverage some of those capabilities to create a fully functional SMS booking system. Here is how it works, the customer interested in booking an appointment send an SMS to a Twilio number; our Node.JS backend application understand the message and send an SMS back to the customer saying:

Hi, do you want to book an appointment to:

  •     see the gym

  •     book a personal trainer

  •     book a massage

After that, we wait for a user reply, such as:

I want to book a massage

After that, our Node application will send an SMS to the user asking:

What date do you want to see the masseur

The customer will reply with a preferred day, such as:

Monday, please

In this case, we will reply with the valid times available on Monday

Do you want to book it on Monday: 10 am, 11 am, 1 pm or 4 pm

After the customer selects the best time for the booking, they will reply saying:

At 11 am is good for me

After collecting all the data, the NodeJS application will send a confirmation to the customer saying:

Your appointment is booked to see the masseur on Monday at 11 am. See you than


Please note all the data above is fictional and hardcoded to the application. The course focuses on sending and receiving the SMSes, leaving all the logic of checking the actual dates and times and finalizing the booking for you to implement.

Said that new Chapters are coming, and as a student, you can help me decide what comes next. So far few ideas I have on a road map are:

  • Add the logic to read/write on the database been able to validate bookings and available times.

  • Add a relational database to the application as a Docker container and add the current application to a container with easier development and deployment.

  • Add an option to cancel a booking.

  • Add an option to make a payment via SMS using stripe.

  • Move the NodeJS code to a Serverless function and host it in Twilio.

  • Any amazing idea you may have.


Enjoy the course!

Who this course is for:

  • Developers of all levels that want to learn new things
  • Developers that want add SMS capabilities to they applications