I’m building a basic CRUD application using MongoDB atlas as my database. Using Postman, I’m able to send post requests and I can see that they are posting correctly because I see my document in there. (and I’m getting a http 201 created response
But when I try to do a simple get response that is supposed to return all of my data, postman is returning nothing. Just an empty array.
I tried looking online on youtube videos for help through tutorials, but all my code looks pretty parallel. Only main difference is that most tutorials use just mongoDB locally, not the atlas cloud version. But I dont think it would make much of a difference in code, especially since I am able to successfully do a post request