Hi Zino im Getting This Kind Of Error "stack": "TypeError: Cannot destructure property 'name' of 'req.body' as it is undefined Can You Sort Out Why im Getting Error Thank You
For anyone facing issue with cookies - First install cookie-parser using npm (npm i cookie-parser) - then use it as we do for a middleware in main server - then make changes to controller function where we do secure true just remove that we dont need it This will fix issue and works well in postman
This is more cleared and advanced will clear most of the concepts much easier....will you be adding Add to cart functionality && payment gateway in this mern specific ???
Many thanks Zino. The video is very detailed and helpful for me. A question is I don't find any tutorial about Frontend of this project. Where can I find / buy it? Thanks in advance
Hi Zino, i stuck in TypeError: Cannot read properties of undefined (reading '_id'), in userController.js:136:45, in your video time 3.13.57, i can't found to fix that , can you help me , why this happen?, register, login, logout not problem but in get user i have problem, can you help me for solution , thanks
Hello Sir in insomnia formdata is not working but working while data is sent from body . i have put Content-Type multipart/form-data in header also but also not woking. what is the answer plz tell ?
I am noob to MERN stack but I have experience with REST api with python frameworks. I could not let it go unnoticed that you are not creating the api endpoints with correct names. users/updateuser ! really, we should not use verbs in our restapi routes and stick to using nouns as endpoints and use http methods for describing what action we are going to perform with that resource. According to me the correct way this could have been done was just use PATCH method on route: /user Or its okay. I dont know the stack. Maybe people do it this way. Thanks anyway for the tutorial. Cheers.
Hi Zino, i just follow your instruction on the video, also I just copy your code in frontend, but my problem is I cant populate the data into the input field. Can you help. Thanks.
thanks, i don't know much about MERN but want this type of tutorial guide using MySQL instead MongoDb, is there any this type of comprehensive guide with MySQL? if yes, please share the link OR if its possible, can i use as is it and just replace connection to db from Mongo to MySQL?? please help. regards
i have an error with bcrypt when logging in,says illegal arguements,undefined string when comparing passwords,any help?When i remove await,it works but crushes the server and the error appears in the console.
@@ZinoTrustAcademy I'm a Nigeria, I tried paying with stripe but got this message: "your card does not support this type of purchase" What should I do please
Hello sir @3:37:31, i am having an issue, the thing is that when I am patching the details somehow my password in the MongoDb is getting changed like some two dots are appearing there. I followed exactly the same code. How do I fix that? Please help it's urgent
In minute 9:22 you tried to upload the image and it failed. Then you say it's a glitch in the internet but I think there is a bug in the code. I've been trying to upload image, changing cloudinary but I cannot make it work. Can you tell me what did you change between minute 9 and 10 ?
nice project. I got the course from udemy but I'm having issues in the file uploading. My server doesn not see my req.body whenever i use form-data to post the image and other fields so it returns 400 bad request please fill in all fields. Any help please?
@@avinashlamichhane6583 i just switched to insomnia for testing API's and it works. something with postman that I think involves some step I'm missing. Just use insomnia to log in the user, then you'll be able to use the API call to get the profile info and it'll work since insomnia knows you are "logged in"
Everything works very good till cookies...as its the main section for updating and logging out, Can you please sort my issue. My user data apart from that cookies is being inserted.
Idk, if you figured this out, but setting secure to false when setting res.cookie worked for me. Zino said in the video it should only matter if deployed, but it didnt for me. I haven't done a super deep dive on it, but it prevents tokens being sent on anything other than https
Postman don't send cookies without an extension (i.e if it's for only chrome app) , so you have to use an interceptor , if you use insomnia then all good
Hello Sir good job, but i have a problem when i try to get user data with postman im getting this error (Cannot read property '_id' of undefined) even when i tried with the code for the github repo im always having this problem .... maybe you could help with that
✅ MERN Stack Course 👇
olink.to/mern-course
✅ Modern React Course 👇
olink.to/react
Please help nodemon stop running after importing User on userController.Js
Hi Zino im Getting This Kind Of Error "stack": "TypeError: Cannot destructure property 'name' of 'req.body' as it is undefined Can You Sort Out Why im Getting Error Thank You
@@mohamedhaisam7075 do you have a Frontend part ?
This link is no longer working , I also saved the course last month but unfortunately the promo code expired , please do you have a new promo code ?
How to host it brother?
can you shed light on it?
Wow. I feel so happy seeing a Nigerian doing this. God bless you more bro
For anyone facing issue with cookies
- First install cookie-parser using npm (npm i cookie-parser)
- then use it as we do for a middleware in main server
- then make changes to controller function where we do secure true just remove that we dont need it
This will fix issue and works well in postman
Your concept of teaching makes difficult languages look easy, Thank God I come in contact with this video
@@soundar3763You can either use Postman or Insomnia to test your API . Incase of any queries let me know
true
You are A Great Teacher and your way of teaching is Excellent....Sorry its Ahaaaaa🤩🤩
This is more cleared and advanced will clear most of the concepts much easier....will you be adding Add to cart functionality && payment gateway in this mern specific ???
Sir nice one, I have already purchased it, Sir make one complete blogging MERN videos ir
Many thanks Zino. The video is very detailed and helpful for me. A question is I don't find any tutorial about Frontend of this project. Where can I find / buy it? Thanks in advance
olink.to/mern-course
how do you connecting frontend with this project , I am only able to see backend logic
Great sir! Your way of teaching is fantastic!
plz lemme know is Redux toolkit used or only redux
Bro u are to good hats of . method of explaining slowly step by step and install library when required and explain it usage to good ❤🎉
is it like a demo of the full course?
i really enjoyed watching this video , thank you for taking the time to explain every step. please advise if there is a frontend video for this aswell
Full course zli.to/mern-course
@@ZinoTrustAcademy morning , please advise if once payment is made I will receive full access for the front end
@@ronellepillay4551 Yes. Thanks
Great project and teaching style - everything loud and clear, thanks
seriously this is great man thank you so much
can u teach fronted part also?
This project mad, Doctor wey sabi code, thanks sir.
Thanks for this wonderful course
Can anyone tell me how to run the project
i tried to npm install the dependencies but its always showing some error
Hi Zino, i stuck in TypeError: Cannot read properties of undefined (reading '_id'), in userController.js:136:45, in your video time 3.13.57, i can't found to fix that , can you help me , why this happen?, register, login, logout not problem but in get user i have problem, can you help me for solution , thanks
Hello Sir in insomnia formdata is not working but working while data is sent from body . i have put Content-Type multipart/form-data in header also but also not woking. what is the answer plz tell ?
thank you so much sir, very clear and very useful. i'd like to know how you built the frontend too
yes . i dont know what to do with fornt codes
Mr Zino, wants to buy your course, but having some difficulties in accessing them
I just need your response on this
I am noob to MERN stack but I have experience with REST api with python frameworks. I could not let it go unnoticed that you are not creating the api endpoints with correct names. users/updateuser ! really, we should not use verbs in our restapi routes and stick to using nouns as endpoints and use http methods for describing what action we are going to perform with that resource. According to me the correct way this could have been done was just use PATCH method on route: /user
Or its okay. I dont know the stack. Maybe people do it this way. Thanks anyway for the tutorial. Cheers.
You deserve to buy your courses
Hi, will you show adding api to react?
Thank you so much. Love your teaching style, really clear explanation.
plz lemme know is Redux toolkit used or only redux
This project sounds very interesting, so I bought this course on udemy. Very excited to go through the course and finish the project
your way is very very clear ,but sorry for anywhone can't pay this cours
Hi, please provide link for frontend part.
is this project is only for backend, frontend is not designed in whole video?
Thanks for making this Iventory Management App.
You made it or not
@@paragvarshney2764 have you completed sir ? if u completed please help me to complete .
Awesome video! Which app do you use to combine different video files into one?
YOU are so genius. I appreciate you
from where to get the insomnia or is it at all necessary?
How are you throwing an error like that and how is the errorHandler handling that, can you give moer clarity because I'm not able to do it.
so much thing i had been learn in this video. thank you
I learned a lot. Please make small but complex project. You are awesome.
plz lemme know is Redux toolkit used or only redux
great stuff. Just bought your MERN course in udemy, thanks you a lot for sharing your knowledge :) Voila !
Thanks Pollet.
How much for the course?
zino you make the best couse in youtube, when you up the frontend? i'm from argentina
Link to the full course is in the description.
Hi Zino, i just follow your instruction on the video, also I just copy your code in frontend, but my problem is I cant populate the data into the input field. Can you help. Thanks.
Why can't the user update the email? Is it just missing functionality or is there a deeper reason? Couldn't you use findOneAndUpdate() to update that?
Awesome! Many thanks! You are top! 💯💥Subscribed.
It would have been nice to atleast help junior devs like myself by letting us have the full course, we can't afford to pay
Hi Zino, is there another way i can purchase your course?
Udemy is rejecting all Nigerian card. Thank you and i look forward to your response
Sure, send an email to zinotrust@gmail.com
plz lemme know is Redux toolkit used or only redux
thanks, i don't know much about MERN but want this type of tutorial guide using MySQL instead MongoDb, is there any this type of comprehensive guide with MySQL? if yes, please share the link OR if its possible, can i use as is it and just replace connection to db from Mongo to MySQL?? please help. regards
you are n amazing teacher sir
A very detailed video, keep it up man !
Thanks
project not working in frontend!!!!!!
Where i can get full project
How to run this project
Can you tell me which extension you are using to make arrow function, by writing af 😅?
Es7 snippets
install extensions Es7 snippets and type rafce
Are contain print report
i have an error with bcrypt when logging in,says illegal arguements,undefined string when comparing passwords,any help?When i remove await,it works but crushes the server and the error appears in the console.
You really made a great job selling your course! :D
Very good explanation !
thank you for this cours ,I want to ask you for the reste of cours frontend where does i find it? please.
courses.zinotrustacademy.com/4331
@@ZinoTrustAcademy I wante to buy pour cours but ihave Pyypl card
@@fatfat5186 bit.ly/MERN-Stack-Udemy
what about deploying?
what about the forntEnd ? please help me with front end .
Link in the description
How can we integrate an API to update product as soon as the product barcode is scanned.
Outstanding and unique
Upon register it shows network error
Very cool!
Thanks for this code!
Nice one Zino
The link to the course is not opening , can it be updated please , I need to buy this course
courses.zinotrustacademy.com/4331
@@ZinoTrustAcademy thank you , you made things alot easier with this course
@@ZinoTrustAcademy I'm a Nigeria, I tried paying with stripe but got this message: "your card does not support this type of purchase"
What should I do please
@@emmanueligwesi9566 send an email to zinotrust@gmail.com
@@ZinoTrustAcademy done
This is not the full video of the course
Hello sir @3:37:31, i am having an issue, the thing is that when I am patching the details somehow my password in the MongoDb is getting changed like some two dots are appearing there. I followed exactly the same code. How do I fix that? Please help it's urgent
Please could you add more payment options to your website? Most 9f these card payments don't work in nigeria
In minute 9:22 you tried to upload the image and it failed. Then you say it's a glitch in the internet but I think there is a bug in the code. I've been trying to upload image, changing cloudinary but I cannot make it work. Can you tell me what did you change between minute 9 and 10 ?
Do you find any solution? then please share
please how i can configure my own cloudinary
nice project. I got the course from udemy but I'm having issues in the file uploading. My server doesn not see my req.body whenever i use form-data to post the image and other fields so it returns 400 bad request please fill in all fields. Any help please?
Please ask this question on the course platform under the lecture.
your erroHandler middleware in server.js should be below your routes
Nice lecture...Good job Zino
Http cookie not working in incognito mode...how can i loging from incognito?
Bro same issue, did you resolve it
I stuck at 4:46:03 , while i working in insomnia it's showing internal server error can you please help me
the email is not sent from my Token schema through my outlook mail to user email. what shall I do bro please help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can you add to show all the customer information in dashboard?
Hello bro, thanks for this wondering tutorial, i have tried going this tutorial lesson but the video is not complete please
course.zinotrustacademy.com/courses/mern-stack-course-2023-mongodb-express-react-nodejs/
My mongodb not connect why is that ?
I cant GET user profile at 3:15:46 but am using postman. not sure why i am still getting "Not authorized, please log in" can someone help? :/
We have the same issue. I can't resolve it. Need help here :(
bro , Have you got an answer
i also have same problem
@@avinashlamichhane6583 i just switched to insomnia for testing API's and it works. something with postman that I think involves some step I'm missing. Just use insomnia to log in the user, then you'll be able to use the API call to get the profile info and it'll work since insomnia knows you are "logged in"
@@avinashlamichhane6583 Luckily, I found out that you have to use the same testing environment. It works fine to me now.
same problem
Where to purchase Inventory Management App frontend ?
olink.to/mern-course
@@ZinoTrustAcademy i am not able to make payment from my master card. can you help?
@@ZinoTrustAcademy Hi, I am not able to pay using master card, can you help
@@nagapriyankaravikumar932 please send me an email at zinotrust@gmail.com
appreciated sir, would you please update this to a multi-vendor (marketplace) inventory system ?
Yimechesh brada
the getuser route keeps shaking processing, please wait anybody else experience same problem?
impressive ZinoTrust, Can you make it multi platform we service?
yimechesh man
Hi, can anyone help me? I am stuck at the authmiddleware, got error when tried to getuser which is unauthorized.
plz provide the frontend part
Is responsive?
Yoy should also add modal for customers who does have the demand for purchasing
Can anyone help with 4:46:24 - I receive a (500) error after requesting password reset error, it displays nothing else. How can i debug this ?
Such a great tutorial - thanks Zino!
fronend part pls
Everything works very good till cookies...as its the main section for updating and logging out, Can you please sort my issue. My user data apart from that cookies is being inserted.
You figure it out? I'm havving issues with getUser
Idk, if you figured this out, but setting secure to false when setting res.cookie worked for me. Zino said in the video it should only matter if deployed, but it didnt for me. I haven't done a super deep dive on it, but it prevents tokens being sent on anything other than https
Postman don't send cookies without an extension (i.e if it's for only chrome app) , so you have to use an interceptor , if you use insomnia then all good
@@LazAustin what is the error ?
post Laundry booking app MERN STACK Video
hello my friend iam happy with you you are intelligent okay thank you mr i really like you
Hello Sir good job, but i have a problem when i try to get user data with postman im getting this error (Cannot read property '_id' of undefined) even when i tried with the code for the github repo im always having this problem .... maybe you could help with that
got same issue, look if you have .id in code and change it to ._id
Amazing 😍
sir my inventory app is having network error problem
Can You try building a dashboard?
NUmber Uno course bro
Thanks
Where is the FrontEnd Part ?
In the description
I just subscribed, how can we connect?
Send an email. zinotrust @gmail.com
where is client part?
Link in the description.