
Node.js / Express Course - Build 4 Projects
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
S.T.A
Thank you very much but I have small problem.... in your second project I got an error -Array. Sort -. I was faced that in after getting mongodb data into variable and sorting it. But I can sort data with Model.find().sort() this way, but I cant do it from that way -let result = Model.find(); if(sort)-const sortlist = sort.split(',').join(' ');result = result.sort(sortlist);
-- I got this error -Array. Sort -...- Any one faced this please help me..
reply
Thank you very much but I have small problem.... in your second project I got an error -Array. Sort -. I was faced that in after getting mongodb data into variable and sorting it. But I can sort data with Model.find().sort() this way, but I cant do it from that way -let result = Model.find(); if(sort)-const sortlist = sort.split(',').join(' ');result = result.sort(sortlist);
-- I got this error -Array. Sort -...- Any one faced this please help me..
reply
Rares
An observation: On 5:05:33 if you want to pass as query parameters something like price20 it won't work as expected. It will give back the products with price greater than 20. I solved the problem writing the code like that:
if(options.includes(field))--
if(queryObject[field])--
queryObject[field][operator] = Number(value)-
--
else--
queryObject[field] = -[operator]:Number(value)--
--
-
reply
An observation: On 5:05:33 if you want to pass as query parameters something like price20 it won't work as expected. It will give back the products with price greater than 20. I solved the problem writing the code like that:
if(options.includes(field))--
if(queryObject[field])--
queryObject[field][operator] = Number(value)-
--
else--
queryObject[field] = -[operator]:Number(value)--
--
-
reply
evol
hi , i have watch some of your very useful tutorial. I just have 1 small comment that when you speak, you should not drag some words like :- aaaand, ooor, ...-. I dont mean to offense but if you try pronouncing more compact and not with that downward pitch height, it would be much much more ear-pleasing for the listeners(or perhaps only i have this kind of problem). Thank you for your effort
reply
hi , i have watch some of your very useful tutorial. I just have 1 small comment that when you speak, you should not drag some words like :- aaaand, ooor, ...-. I dont mean to offense but if you try pronouncing more compact and not with that downward pitch height, it would be much much more ear-pleasing for the listeners(or perhaps only i have this kind of problem). Thank you for your effort
reply
Nicole
Thank you so much for this tutorial! This is great. I love the way John explains everything and references previous videos. I apologize in advance for saying this, but when you slow the playback to .75, John sounds a little like Strong Bad of Home Star Runner (...da email...da email..wa..wa.. da email...) Which in my opinion makes the video even better xD
reply
Thank you so much for this tutorial! This is great. I love the way John explains everything and references previous videos. I apologize in advance for saying this, but when you slow the playback to .75, John sounds a little like Strong Bad of Home Star Runner (...da email...da email..wa..wa.. da email...) Which in my opinion makes the video even better xD
reply
Augustin
Hello thanks for videos. I want to ask a question, i don't understand why you put async in asynWrapper and async in controller, i tell myself, if you put async in asyncWrapper, you don't need to put again async in controller. So if you have link of articles to explain that, please give me. Thanks lot
reply
Hello thanks for videos. I want to ask a question, i don't understand why you put async in asynWrapper and async in controller, i tell myself, if you put async in asyncWrapper, you don't need to put again async in controller. So if you have link of articles to explain that, please give me. Thanks lot
reply
Sudhanshu
The video, the content and the way of explaining is really amazing. Hats off to you man!
However, there is sync issue between video and audio. The video is ahead of audio by few seconds, which makes it a bit confusing.
reply
The video, the content and the way of explaining is really amazing. Hats off to you man!
However, there is sync issue between video and audio. The video is ahead of audio by few seconds, which makes it a bit confusing.
reply
KUNAL
at 2.42 why he added async after return ?
const asyncWrapper = (fn) => --
return async (req, res, next) => --
try --
await fn(req, res, next);-
- catch (error) --
next(error);-
--
-;-
-;
reply
at 2.42 why he added async after return ?
const asyncWrapper = (fn) => --
return async (req, res, next) => --
try --
await fn(req, res, next);-
- catch (error) --
next(error);-
--
-;-
-;
reply
lucky
Audio is a little delayed and not sync with video, so please someone tell me how can i resolve this issue, bcz this video would be damn good for me to practice. Please help me to sync this audio and video., Anyone?
reply
Audio is a little delayed and not sync with video, so please someone tell me how can i resolve this issue, bcz this video would be damn good for me to practice. Please help me to sync this audio and video., Anyone?
reply
Abhinav
I am getting this error at 1:25:15 -Error: read ECONNRESET- I think it has something to do with the mongodb code because without async it runs fine can someone suggest me a fix
reply
I am getting this error at 1:25:15 -Error: read ECONNRESET- I think it has something to do with the mongodb code because without async it runs fine can someone suggest me a fix
reply
localhost
One can master MERN just by completing John Smilga courses from udemy on react, node and react+node(mern). He is just awesome.
reply
One can master MERN just by completing John Smilga courses from udemy on react, node and react+node(mern). He is just awesome.
reply
Add a review, comment















