how to connect node js and supabase .I have completed front end using react . I need to get image as input from the user and store it in the DB.I need to fetch those images and display it in cards.
I have no idea as I am new to supabase.
how to connect node js and supabase .I have completed front end using react . I need to get image as input from the user and store it in the DB.I need to fetch those images and display it in cards.
I have no idea as I am new to supabase.
2
Answers
You need to use @supabase/supabase-js package to connect with supabase database.
dbConfig.ts
For more details refer supabase tutorial.
you will write this in
index.js
write this part in the terminal
If used this way, you don’t need to download the MongoDB program to the device.