supabase-community / storage-ex

Elixir client to interact with Supabase Storage
https://hexdocs.pm/supabase_storage
MIT License
3 stars 1 forks source link
elixir supabase supabase-storage

Supabase Storage

Storage implementation for the Supabase Potion SDK in Elixir.

Installation

def deps do
  [
    {:supabase_potion, "~> 0.5"},
    {:supabase_storage, "~> 0.3"}
  ]
end

Usage

Firstly you need to initialize your Supabase client(s) as can be found on the Supabase Potion documentation

Now you can pass the Client to the Supabase.Storage functions:

iex> Supabase.Storage.list_buckets(%Supabase.Client{})