Domain and Hosting
Ninja Space Content Blog
Domain and Hosting
Ninja Space Content Tech Blog
Cloudinary Implementation with Multer
Posted by Ninja Space Content on Friday, March 5, 2021
Since Heroku does not keep my uploaded files from the deployed link after a day, I had to find a solution to this. Because their file system is ephemeral, which I learned the hard way, I had to find a cloud service that would store my uploaded photos.
Read more from Heroku on what it means to be ephemeral and their suggestions on how to store uploaded files.
After googling online for suggestions, I went with a free plan with Cloudinary. Their Node.js SDK documentation is very thorough. You can find specific documentation utilizing Node for Cloudinary with the following link:
, which I used as a reference multiple times.
I really like Cloudinary's editing features. Once you create an account and have uploaded some photos, you can edit and use their filter effects, quickly crop and use other developer tools.
There are a few other Cloudinary plans that are upgraded versions of the free plan. As of right now, I don't foresee using more than the limit of the free plan. However, I saw that Heroku does suggest using S3 for storing photos in their own docs but I really think that AWS' documentation can be so confusing to weed through, at least for me it is. Once I've successfully learned to use AWS' services, I'll definitely write a blog entry about it.
After weeding through a bunch of forums and blogs about Multer and Cloudinary used together, this particular blog entry from another developer really helped me out so I wanted to share it here. It's a spot-on implementation resource for Cloudinary using Node, Express and Multer:
Read about my
suggested resources for using Multer on this blog entry
Week One of...
Using Multer to...
« Back to posts
About Ninja Space Content
Ninja Space Content
Note: links to resources and promoting special deals may allow me to earn a small commission from each sale.
Work Station Accessories
Upgrading From heroku-18 to heroku-22 and...
Pros and Cons of G4 from Google Analytics...
How to Reset the ADT Doorbell by yourself
MISC: Useful Commands, Keys and Notes
My GraphQL Study
coding bootcamp (1)
Creating a Brand (1)
Domain Management (2)
Google Adsense (1)
Google Analytics (2)
Social Media (3)
tech issues (6)