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
The objective is to create a custom 'unstorage' driver that can interact with supabase and perform necessary CRUD operations on a POSTGRES database
We would require to import @supabase/supabase-js library and 'unstorage' to create a custom driver, ofetch is not necessary because supabase can handle HTTP requests.
Driver options required are URL, API_KEY and storage bucket name.
Basic CRUD operations in my opinion should be
-getItem
-setItem
-getAllItems
-removeItem
-clearAllItems
After the normalization of API_KEY, we can use our driver to connect to Supabase and handle database operations.
The objective is to create a custom 'unstorage' driver that can interact with supabase and perform necessary CRUD operations on a POSTGRES database
We would require to import @supabase/supabase-js library and 'unstorage' to create a custom driver, ofetch is not necessary because supabase can handle HTTP requests.
Driver options required are URL, API_KEY and storage bucket name.
Basic CRUD operations in my opinion should be
-getItem
-setItem
-getAllItems
-removeItem
-clearAllItems
After the normalization of API_KEY, we can use our driver to connect to Supabase and handle database operations.
Spec by: @Nilakshhh
The text was updated successfully, but these errors were encountered: