I am attaching my github repo link for reference to the code. https://github.com/speedynik/NodewithMosh
Basically my heroku logs give different errors related to mongoDB connection.
what I have already verified => IP whitelist .. done
user on mongo .. created
Infact my mongoDb compass does connect to by mongodb in atlas.
Can someone please have alook at the code and point out the problem? its related to mongoDb connection string as far as I know.
c:\heroku config (for reference) === we2-india Config Vars MONGODB_URI: mongodb+srv://:@we2india-00raw.mongodb.net/admin?retryWrites=true
NODE_ENV: production
nodewithmosh_jwtPrivateKey: kaju
Thank you