Create an Abstract BaseService to Use Supabase with Angular

Touhid Rahman
JavaScript in Plain English
2 min readJul 30, 2021

--

Photo by Yogi Purnama on Unsplash

Supabase is the new hero in town! And it’s busy saving poor developers like you and me from the nasty vendor lock-in. Let’s see how can we use Supabase in Angular without sacrificing the RxJS-y flavor you and I love.

We are going to create a BaseService<T> that uses the @supabase/supabase-js client library. You will be able to extend that abstract service and use…

--

--