Deno Edge Functions Setup
By Supabase
Summary
## Key takeaways - **Initialize Supabase Project Locally**: To begin developing Supabase Edge Functions, initialize a new project locally using `supabase init` within a Git repository, then open it in VS Code. [01:28] - **Create Your First Supabase Function**: Generate a new Supabase function by running the command `supabase functions new` followed by the desired function name, such as 'hello'. [01:45] - **Enable Deno in VS Code**: To work with Deno functions, ensure the Deno extension is installed in VS Code and initialize the workspace configuration to enable Deno support. [01:57] - **Secure Your Supabase Project**: When creating a new Supabase project, use a strong password manager for your database password, as it may be needed later. [00:31]
Topics Covered
- How to prepare your environment for Superbase Edge Functions?
Full Transcript
hello everyone welcome to edgy Edge
functions where we look at one new Edge
function or functionality every week now
first off 150 seconds of project setup
if you have everything already set up
then go ahead stand up and do 150
seconds of jumping checks alright let's
go so in our Super Bass dashboard we
create a new project uh I'm gonna call
mine edgy Edge functions
we need a strong password so ideally use
some sort of password manager as you
might need the database password later
and then let's go ahead and create our
free project now while that is spinning
up let's head over to GitHub uh create a
new repository we call it edgy
Edge functions
and we're just gonna make it public
because we're open source and we're
learning in public nice so now let's go
ahead open our console we make a new
directory edgy Edge functions
and then we switch into that
directory in there we do git in it
so we have a new empty
um
folder with empty repository initialized
and then we'll go ahead and say super
bass in it
so we initialize our supervised project
and now let's go ahead open this up in
vs code
there we are
um we're gonna go ahead and create our
first Super Bass function so we'll say
Super Bass functions new
hello
we created a new function now this is a
dino function so we need to tell our
project that we're want to use D note so
we can use the
um Dino
initialize workspace configuration so
make sure you have the dino
extension in vs code installed and so
here we are now we have our settings and
we are fully set up and ready to go
perfect and if you've done your jumping
jacks well done as well
Loading video analysis...