PostgreSQL pool connection from express
Hello people!
I'm creating a back end with node and expressJs, and want to use supabase postgreSQL as my main db, all the changes to it should go through authenticated users from a react web client to my server, I have seen a library by supabase called postgresql-js, but I can't find any info about how to use the pool from the db, as this server will be hosted in vercel,
any light to shine over how to approach to it or documentation?
thanks in advance
I'm creating a back end with node and expressJs, and want to use supabase postgreSQL as my main db, all the changes to it should go through authenticated users from a react web client to my server, I have seen a library by supabase called postgresql-js, but I can't find any info about how to use the pool from the db, as this server will be hosted in vercel,
any light to shine over how to approach to it or documentation?
thanks in advance