I am building a web application using the MERN stack (MongoDB, Express Server, ReactJS front end and NodeJS back end) and was wondering some good ways to store images from the back end.
In the past, I have used Firebase for authentication and storage directly from the front end. As I am handling my own user authentication model in MongoDB, is it possible to still use firebase storage and if so would it be from the front end or back end. If it was from the front end, how would I secure it without having firebase authentication?
Other options I have read into are storing images into MongoDB using GridFS or storing on the server using Multer.
Once I have a solution in mind, I will be able to read the docs and figure out how to get it done.
Any advice is appreciated.