You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log("Hello from 'database-webhook' function!");
@@ -139,23 +154,37 @@ Deno.serve(async (req) => {
139
154
140
155
</Step>
141
156
157
+
<Steptitle="Deploy your edge function using the Supabase CLI">
158
+
159
+
Go back to your project, and deploy your edge function with the following command:
160
+
161
+
```bash
162
+
supabase functions deploy edge-function-trigger
163
+
```
164
+
165
+
Follow the CLI instructions and once complete you should now see your new edge function deployment in your Supabase edge functions dashboard.
166
+
167
+
</Step>
168
+
142
169
<Steptitle="Create a new database">
143
170
144
-
In your Supabase dashboard, click on 'Table Editor' in the left-hand menu.
171
+
Next, in your Supabase dashboard, click on 'Table Editor' in the left-hand menu.
145
172
146
173
[How to create a new table]()
147
174
148
175
Create a new table called `skynet`.
149
176
150
177
Add a new column called `name` with the type `text`.
151
178
179
+
[How to add a new column]()
180
+
152
181
</Step>
153
182
154
183
<Steptitle="Configure JWT settings">
155
184
156
185
By default, Supabase edge functions require a JSON Web Token (JWT) in the authorization header. This is to ensure that only authorized users can access your edge functions.
157
186
158
-
First, go to your Supabase dashboard, click 'Project settings', 'API' tab, and copy the `anon``public` API key from the table.
187
+
Go to your Supabase dashboard, click 'Project settings', 'API' tab, and copy the `anon``public` API key from the table.
0 commit comments