When will Supabase support a serverless data API?
I want to be able to use Drizzle with Supabase while still being able to use the Data API to communicate with Supabase. But the only way it is exposed right now is through the native Supabase SDK. Would love more flexibility!
4 Replies
Supabase offers a REST and GraphQL already, which is far enough to do what you would like to do
It was my understanding (which could be wrong) that the only way to access REST was to use their provided SDK. I would love to be able to access it using Drizzle
Definitely not. The Rest api, like the GraphQL api, are both accessible from anywhere, like a regular Rest or GraphQL api. The only thing you need would be the api key that you can find in your settings.
About Drizzle and Supabase: https://orm.drizzle.team/docs/get-started-postgresql#supabase
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
Thank you for the clarification! I would then just use Drizzle's http-proxy functionality to tie to the REST API provided by Supabase.