Twilio-Text-Display Tailwind Templates

Twilio Text Display

A Next.js (plus Tailwind, Prisma, and MongoDB) web app that displays texts sent to a Twilio number.

Text to Web Display

This is a simple webapp that displays texts sent to a Twilio number.

  1. A text is sent to the Twilio number
  2. Twilio's webhook hits the storeText API endpoint.
  3. The text's information is added to MongoDB.
  4. Every sixty seconds (or on a defaul reload) a custom React hook with useSWR calls the getText endpoint to fetch the newest text.
  5. That text is displayed.

Built using Next.js, Tailwind CSS, Prisma, and MongoDB.

Top categories

Loading Svelte Themes