adrianhajdin / project_ai_mern_image_generation

Build and Deploy a Full Stack MERN AI Image Generation App MidJourney & DALL E Clone
https://jsmastery.pro
1.08k stars 302 forks source link

Cannot see shared images on home page #26

Open nathantd3 opened 1 year ago

nathantd3 commented 1 year ago

Hello, I cannot see the images after I share them with the community on the home page. It says that the action was a success however, I cannot see them listed on the home page.

Screenshot 2023-02-06 at 6 23 28 PM Screenshot 2023-02-06 at 6 23 36 PM
saurav4geeks commented 1 year ago

I'm having the same problem. Please let me know you if found out the solution. I think there is a problem with DB. I checked the atlas for collection and didn't find "POSTS' collection there. UPDATE: Just checked the network tab in dev tool. i think there is problem in posting data.

saurav4geeks commented 1 year ago

@TidbitsJS . Hello, I cannot see the images after I share them with the community on the home page. It says that the action was a success however, I cannot see them listed on the home page. Repo: [https://github.com/saurav4geeks/imagigo]

yeshwantthota commented 1 year ago

Just create another mongodb atlas cluster with a new username and password - the password should be a simple one, then add that to the project.

russellnonstophustle commented 1 year ago

It didn't work for me until I actually deployed it, you can follow what he does to put the server side on render and you can host the front end on netlify for free. Once I deployed the server on render, changed from localhost to the render address and deployed the front end on netlify everything is working but it wasn't working for me on localhost either.. try to deploy and see if it fixes it

vaggelisdrak commented 1 year ago

I just added access from everywhere in the MongoDB cluster and it worked dfgdsfgsdfg