Camera Implementation saving to database

I saw the tutorial but didn’t find, how to capture photo and then save it to database using node js and mongodb.

I am getting the tutorials of using multer, that’s fine, that i can use in node js.
But, I want to know the procedure, after capturing the photo, i get a path in blob type.
In what format should i save the picture in database and how it will work with multer.

Please help…