vasansr / pro-mern-stack-2

Code listing for the book Pro MERN Stack, 2nd Edition
https://www.apress.com/book/9781484243909
333 stars 191 forks source link

Chapter #9 init.mongo.js #20

Closed siricoa94 closed 4 years ago

siricoa94 commented 4 years ago

So I am almost complete with the chapter when I noticed that when I clicked "Select" to show the description that the title would show but not the actual description. This prompted me to check my init.mongo.js and I noticed that no edits I made in this file were being displayed in the browser. I have read over every file in both the API and UI structure line for line besides the bundle.js files. I could not find much of a difference besides spacing preference. Also I am able to add new issues still via the browser. I have checked in graphql to make sure my new additions via the browser are going through and they are.

So I realized since i posted above that I have to do the following to have my browser reflect the changes in init.mongo.js -

I have ran the command in my mongo shell and in my intergrated terminal with no results, I have added new issues via the GraphQL playground to ensure my details are working, which they are. So I think the source of my confusion is due to my lack of knowledge on where to run the command for init.mongo.js.

siricoa94 commented 4 years ago

So I was in the wrong directory... Here is the proper directory to be in the integrated terminal for anyone else who may have fell into this pitfall as I did. Screenshot (42)