How do you think about the background principle of multi-picture uploading

  node.js, question

First convert the picture to BASE64 and then upload it to the hard disk (can I upload it to other places in public)?
Then save the generated image path to the database?
How to generate a new path for the picture?

Can formdata,base64 upload can be. Where to save is up to the server. Of course, it can be stored in places other than public, and the file name can be changed. It is necessary to store the address in the database.