Following the Express Local Library tutorial. I’m at the very end of this page where I’m attempting to run node populatedb <my mongodb url>
. When I open up my local library project locally and run the command, it spits out [1] 10289
, and that’s it.
It says to then check my local_library DB in MongoDB Atlas and I should see individual collections of Books, Authors, etc. I see nothing, though.
Am I doing something wrong? Here’s what I type in when running the script (my username is odin
and my password is voAkUlE2D5qUQIob
. Database name is local_library
.
node populatedb mongodb+srv://odin:voAkUlE2D5qUQIob@cluster0.lcab9.mongodb.net/local_library?retryWrites=true&w=majority