https://supabase.com/docs/guides/functions
https://supabase.com/docs/guides/functions/quickstart#organizing-your-edge-functions
## Examples
https://github.com/supabase/supabase/tree/master/examples/edge-functions
## CLI
```
supabase functions new ${func}
```
### Deploying
```
supabase functions deploy ${func} --project-ref ${project}
```
- Gives you a function
### Serve locally
```
supabase functions serve ${func}
```
```
supabase init
```
Will need docker container https://youtu.be/rzglqRdZUQE?si=_1eX-_lKbryGp_q3&t=290
```
supabase start
```