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

Do you have any interest in a java client? #1

Open
yuripourre opened this issue Jun 7, 2022 · 0 comments
Open

Do you have any interest in a java client? #1

yuripourre opened this issue Jun 7, 2022 · 0 comments

Comments

@yuripourre
Copy link

Hello,

I found supabase a couple months ago and was disappointed that there was no Java client so I created my own. It has basic database and storage features implemented.

It's very simple to use:

// Starting the client
SupabaseRestClient supabase = new SupabaseRestClient(YOUR_SUPABASE_URL, YOUR_SUPABASE_KEY);
// Inserting a new user to the table users
supabase.databse().insert("users", Insert.row().column("email", "[email protected]")
                                     .column("username", "user123"));

// Using storage (uploading a file)
supabase.storage().upload("mybucket/test.txt", new byte[]{1,2,3,4,5});

Feel free to fork it. I can change the license if it makes anything easier.

https://github.com/Harium/supabase-java

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

1 participant