This article will discuss how to build a serverless application with React capable of sending SMS messages using Twilio Programmable SMS. With the rise of serverless architecture, developers can choose to focus on code and leave server management and configuration to third party services. In this tutorial, we will use Vercel to build and deploy serverless functions.
For the complete code, see this GitHub repo.
- A Twilio account and phone number that can send SMS messages (you can sign up for a Twilio account for free here)
- React Dev Tools (optional)
- Vercel Account
- Any code editor of your choice
Navigate to your project’s parent directory in your command prompt, and run the following commands:
npx create-react-app react-twilio-sms …