If you use Slack and run a PlanetScale database, you should be using webhooks! In this video, you'll learn how to set up an integration to get messages in slack when events happen in your PlanetScale database. I'll show you how to do this using two different methods: Deploying to Vercel, and also setting it up on your own cloud VM. For the cloud VM, I'll show it with a DigitalOcena droplet, but you can also use EC2!
The code used in in the video can be found on GitHub here: https://github.com/samlambert/planets...
NOTE: All Slack and PlanetScale secret credentials used in the video have been removed and are no longer functional.
Head to https://planetscale.com/youtube to learn more about PlanetScale.
💬 Follow PlanetScale on social media
• Twitter: / planetscale
• Discord: / discord
• TikTok: / planetscale
• Twitch: / planetscale
• LinkedIn: / planetscale