Hi,
I don’t know how to send an image frontend to backend and database…
can you please help me… I am backend using node.js
Hi,
I don’t know how to send an image frontend to backend and database…
can you please help me… I am backend using node.js
You can use npm packages like multer to receive and deal with them from a node js backend. A better way is to store those files or images on the server or in file storage. But if you want to store them in the database you could use columns with the blob data type. However, it could affect the size and performance of your database if you start storing larger files.
it’s not suitable for mongodb database larger file uploadings right?
I haven’t used MongoDB. However, in my opinion, storing files inside a database could lead to space and performance issues.