Open mohamedmehdigara opened 3 years ago
Did you find a fix?
I had the same issue, I fixed it by providing the DB name in the connection string. MONGODB: 'mongodb+srv://YourUsername:YourPassword@cluster0.xbrt2.mongodb.net/YourDBName?retryWrites=true&w=majority'
@hidjou Salam. I made the changes in config.js with a name of a Mongodb cluster, its password and changed the name of the database to its correct name like you instructed but still getting an empty getPosts like this: