this is the most detailed explanation of the project i have ever seen till now. You have explained everything very well and this is the first project where i have got very less bugs..Please bring more such projects.
i dont have enough words to say thank you...!! im struggling from last 1 month to learn all these stuff. after reaching this channel.. i have completed 12 videos yeasterday. and started next 12 for today. hopefully i will finished this course in 3 day... with full satisfaction..... thank you soooo much...
this is the most detailed explanation of the project i have ever seen till now. You have explained everything very well and this is the first project where i have got very less bugs..Please bring more such projects.Correct
The better solution to handle multiple if-else is if we handle this in front-end (client or Reactjs) side. This way it will be more user friendly as well
Why don’t we using GET api in Login? As we are finding data from the database so, we should use GET api and even we are using findOne method, and that comes along with GET api. Can someone please explain and clear my doubt . Thanks 😊
Using a POST API for login ensures secure transmission of sensitive data (like passwords) in the request body, adhering to best practices in web security. GET requests expose data in URLs and are primarily used for fetching information without altering server state, which isn't suitable for login operations due to security and caching concerns.
Doubt = Why don’t we using GET api in Login? As we are finding data from the database so, we should use GET api and even we are using findOne method, and that comes along with GET api. Can someone please explain and clear my doubt . Thanks 😊
cause you have to send the email and password send to the databse so we should use post method with get method you can also get those data but the problem us you have to filter data in frontend which is not optimize option. hope your doubt has clear
Using a POST API for login ensures secure transmission of sensitive data (like passwords) in the request body, adhering to best practices in web security. GET requests expose data in URLs and are primarily used for fetching information without altering server state, which isn't suitable for login operations due to security and caching concerns.
Sir, we can fix if else problem with using only one if else app.post("/login",async(req,res)=>{ if(req.body.email && req.body.password){ const result =await User.findOne(req.body).select("-password") res.send(result) }else{ res.send({Error:"Account Not Found"}) }
mane kitne sare videos dekhe hai web devlopment ke but itna acha explain shyd he kese ne keya ho aaj tak all thanks to you sir😊😊😊
yrr you are awesome, tumhare jaysa koi mai ka laal explain nhi karta, I love you brother, please is project ke videos jaldi jaldi lao...
this is the most detailed explanation of the project i have ever seen till now. You have explained everything very well and this is the first project where i have got very less bugs..Please bring more such projects.
i dont have enough words to say thank you...!! im struggling from last 1 month to learn all these stuff. after reaching this channel.. i have completed 12 videos yeasterday. and started next 12 for today. hopefully i will finished this course in 3 day... with full satisfaction..... thank you soooo much...
Because of your videos I am able to work on ReactJS, NodeJS, ReactNative, PHP etc ☺️☺️☺️Thank you☺️☺️☺️
Please upload 2 videos in a day. your videos are awesome.🥰
I will try my best
I recommend watching this complete series. This is really good for you to learn mern stack or full stack.
KEEP UP THE GOOD WORK. 🎉
next level teaching quality sir, really i understand very well.
this is the most detailed explanation of the project i have ever seen till now. You have explained everything very well and this is the first project where i have got very less bugs..Please bring more such projects.Correct
What a Level of Teaching ..Hats Offffff👒👒👒👒
Best Node js Series on YT
Awesome, and very explained in a very simple way. thank you so much
Glad it was helpful!
Best Playlist in My life
You are doing great job for us. Respect
Really very helpful for beginners...thanks alot..🙏✌🏻
Your videos are awesome 🤠 👍👍👍
very good sir bohat hey awla bus thora sa batadia karain k real live m aisey kahan use krsaktay hain baaqi bht awla kam kar rha hain ap
Very Good Video Sir
Thanks
thanks a lot for this series 😊🙏
superb tutorial sir
Keep watching
Many Many Thanks
sir you did awesome job for us. I learn lots of thing from your channel. please provide source code link sir ji.🙏🙏
The better solution to handle multiple if-else is if we handle this in front-end (client or Reactjs) side. This way it will be more user friendly as well
Try catch m daal skte h sir...and ismien session storage jrur use krna sir
greate work bro
Thank You sir
Good video sirr
Why don’t we using GET api in Login? As we are finding data from the database so, we should use GET api and even we are using findOne method, and that comes along with GET api.
Can someone please explain and clear my doubt . Thanks 😊
Using a POST API for login ensures secure transmission of sensitive data (like passwords) in the request body, adhering to best practices in web security. GET requests expose data in URLs and are primarily used for fetching information without altering server state, which isn't suitable for login operations due to security and caching concerns.
Thank u brother 👊💯
goood one dude.
great video
Sir mere vs code main mongoDB ke query function ka auto suggestions nahi aata. Iske liye koun sa extension install karna padega.
Doubt =
Why don’t we using GET api in Login? As we are finding data from the database so, we should use GET api and even we are using findOne method, and that comes along with GET api.
Can someone please explain and clear my doubt . Thanks 😊
cause you have to send the email and password send to the databse so we should use post method with get method you can also get those data but the problem us you have to filter data in frontend which is not optimize option.
hope your doubt has clear
Great
nice
appriciate it
I have written the same code as you explained but in my case it not removed the passsword
jo previous question tha use m condition use krna h yeah nhi...
Please make video about jwt token
awesome
Tq🎉
good1
why app.post() when we are making api for login why not app.get()
same thing i was thinking, why app.post() if we are following rest architecture.
Using a POST API for login ensures secure transmission of sensitive data (like passwords) in the request body, adhering to best practices in web security. GET requests expose data in URLs and are primarily used for fetching information without altering server state, which isn't suitable for login operations due to security and caching concerns.
Those who have got the error at this point first assure that while requesting the login method ,dont give the body in the postman
where can i get the github link of this e-comm project?
❤
bhaiya mene galti se post method hi list se delete kr dia and i can't find a way to store it. Help please
Sir, we can fix if else problem with using only one if else
app.post("/login",async(req,res)=>{
if(req.body.email && req.body.password){
const result =await User.findOne(req.body).select("-password")
res.send(result)
}else{
res.send({Error:"Account Not Found"})
}
👍👍👍
wow
My login findOne method isn't working
sir please send me login api syntax code for mysql
💯
React date range picker please
Sir Mara findOne Function run ni kr rha or console pa check kia ha findOne ma hi issue ha not error just post man pa result ni show kr rha?
Same question
bro node js ko ek baar phir se start krke karo ho jayega mera isi chakkar mai 2 ghanta barbad hua
same problem .how can haldel this @Electro Soft Engineer
Where is github link bro? Can u please share it...?
Sir I am confused what should I learn first react or node please guide me .
if u know js, you can learn any one
@@codestepbystep i know js
both in parallel