How to upload files in client server application?
up vote
-1
down vote
favorite
I have client server application (ReactJS + NodeJS) and database PostgreSQL. I need to save files (.doc/.xlsx) with binding to a record in the database. What the best way to do it? In my opinion, I should send files to backend, save it in a directory (folder) and marked (for example, add to file name id of a database record). But I'm not sure that this is optimal solution. Can you give me some advice how to realise it? Examples and documentation links will be good for me For uploading files on client-side I will use input type='file'
node.js reactjs postgresql file file-upload
share | improve this question
asked Nov 19 at 18:39