Supabase Connection NodeJS (Postgres)

Hi! I am new to Node and have been using vanilla for a while now. I was wanting to know how to connect a supabase database to javascript. I would prefer using a library or an npm package.

Thanks!
-thebakokid
1 Like

Hi @iusebako thanks for your question and welcome to the community!

I’ve not done this myself before but wondered if you wanted to do something like this https://javascript.plainenglish.io/supabase-database-96e047b13bd1

There is a Supabase-JS template in Replit you can use to get you started. Hope this helps!