In the NodeJS code, I struggled with status code issues. I read that you need to specify the status code first and then send, or you'll end up with a default 200. The tutorial makes this mistake a couple times. Broken example: res.send("Not Found").status(404); Working example: res.status(404).send("Not Found"); Aside from that minor issue, the tutorial was very informative and helpful!
Hello there, I'm pretty new to programming and I had a little issue with running this command line in Gitbash node --env-file=config.env server I just get this bad option: --env-file=config.env does this mean my node is out of date or something? Edit: Oh I ran this on the terminal in VS code and got the same bad option message
hi there! i downloaded the repo off github after reviewing this tutorial and the list of employees does not seem to be displaying correctly (there are no employees listed, even after i add some). am i doing something wrong?
✅ Sign-up for a free cluster at → mdb.link/free-4nKWREmCvsE
✅ Get help on our Community Forums → mdb.link/community-4nKWREmCvsE
I watching so much mern stack videos this is best one!
Very useful. Thanks!
Thank you so much for this simple but effective video
In the NodeJS code, I struggled with status code issues. I read that you need to specify the status code first and then send, or you'll end up with a default 200. The tutorial makes this mistake a couple times.
Broken example: res.send("Not Found").status(404);
Working example: res.status(404).send("Not Found");
Aside from that minor issue, the tutorial was very informative and helpful!
Good callout, thank you for the feedback!
What vs code theme are you using and how did you still your terminal to have this look?
Hello there, I'm pretty new to programming and I had a little issue with running this command line in Gitbash
node --env-file=config.env server
I just get this
bad option: --env-file=config.env
does this mean my node is out of date or something?
Edit: Oh I ran this on the terminal in VS code and got the same bad option message
You need Node 20.
@@DavidEPatrick thank you for the reply I appreciate it :)
this is for just security you can use default version also like node server.js don't take care so much bro!
@@DavidEPatrick you saved my day Thank you.
awesome tutorial ❤
hi there! i downloaded the repo off github after reviewing this tutorial and the list of employees does not seem to be displaying correctly (there are no employees listed, even after i add some). am i doing something wrong?
create your own database it will work fine
you are just reading
Hello sir! How some one can enter in contact with you pls?
Hi, you can ask all your questions in our community forums!
www.mongodb.com/community/forums/
I like MongooseDB
Mongoose is amazing!!
omg font :8
Love your beard,
😂😂😂
You are just copy pasting and reading. Please explain more briefly
ty for unprivate the video