How to upload a file to Supabase storage using Nodejs.

I am working on a hobby project using Nodejs for my backend. I am trying to upload files to Supabase storage using api route /upload. I have a form with <input type="file" name="logo" id="logo"> But, I have not found any helpful resource for this. Can anyone help me with the code or point to the correct tutorial or article?
Was this page helpful?