profilecity / vidur

Vidur - Recruiting OS for forward thinking companies.
https://profilecity.xyz/vidur
Other
196 stars 85 forks source link

Write a `unstorage` driver to connect to supabase storage and save data there. #55

Open amandesai01 opened 1 month ago

amandesai01 commented 1 month ago

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

amandesai01 commented 1 month ago

Blocking this since we first need to answer #56

amandesai01 commented 1 month ago

@Nilakshhh feel free to claim this, but don't work till it is unblocked.

amandesai01 commented 1 week ago

This is now up for grabs.

funkycadet commented 1 week ago

Can I be assigned this task? I'd like to work on it