MERN
Discussion List
-
Unknown api key
I have made a social media web app using MERN stack. While using localhost, it works completely fine, but after deploying it to Render, it tells Unknown API key '123456789123456'. But it is the same API key which i'm using on localhost. I'm using environment variables to pass the API key to the configuration file. Not sure…
-
cloudinary.uploader.upload not working
Hi I'm trying to use Cloudinary to store my images in a MERN stack project. So basically I converted my image upload in the front end to a base64 string, have the data:image/jpeg;base64 removed and send them to my API. Now in my Controller file I wrote something like this: const postDog = async(req,res) => { const {name,…