Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #43
amandesai01 opened this issue Aug 6, 2024 · 4 comments
Open
Tracked by #43

Comments

@amandesai01
Copy link
Member

amandesai01 commented Aug 6, 2024

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
Copy link
Member Author

Blocking this since we first need to answer #56

@amandesai01
Copy link
Member Author

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

@amandesai01
Copy link
Member Author

This is now up for grabs.

@funkycadet
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants