I am working on a Sails.js project at the moment and I would like to upload a file to the server and save the link to that file in my database.

For example, when I click add FILE, it should allow me to select a file from my computer and when I click submit, it should upload the file to the URL that I point ( create the folder if it does not exist).

Can this be accomplished with Sails.js? If yes, how?

Thank you!