Member-only story
The ultimate guide to Supabase Edge Functions
Introduction
In my previous post Getting Started with Supabase: A Comprehensive Guide for Developers, I covered several basic topics about this great BaaS platform in order to get ready for a deep dive into it. So, if this is your first time over here I recommend to go and check it first 😎
What are Supabase Edge Functions & how do they work?
According to Supabase self description:
Edge Functions are server-side Typescript functions, distributed globally at the edge — close to your users. They can be used for listening to webhooks or integrating your Supabase project with third-parties.
So, first they are Typescript function by default, this means that you can use all the power of this language out-of-the-box. The fact that they are closed to the users by distribution allows faster response times and reduced latency, as the function is executed closer to the user making the request. And finally they can be integrated with third-parties libraries which allows to extend even more the capabilities of what you can do.