DEV Community

Discussion on: Best way to store images on server

Collapse
rusty_xx profile image
Grey_W I N D Author

I recently worked on a tutorial video from javascriptmastery. I saw how he stored image in base64 string. But what I am trying to do is build my back-end api. So those images can be hosted. For instance, making a get request to this route ...localhost:5000/api/v1/productid/imageName. Brings out that particular image for that product. Just something I've seen and wanted to try out