matthoiland / restful-api-demo

Code from the video titled "Building a RESTful API in 5 Minutes"
116 stars 45 forks source link

How to run specific queries #3

Open prakashtrivedi opened 9 years ago

prakashtrivedi commented 9 years ago

Great tutotial. Thank you for sharing. I do have question on how do I pull up what i already have in the DB. I have already uploaded bunch of json documents and they are not getting displayed in the Get. Do we have to erite the query to find the record in router?

Thanks,

matthoiland commented 9 years ago

@prakashtrivedi – Are these Mongo documents that existed before creating this API? If so, make sure the model matches the existing documents. If not, please explain further.