#3: Build RESTFul API ✌ Handling Get Request in REST API using NodeJS & MongoDB in Hindi 2020

  Рет қаралды 54,735

Thapa Technical

Thapa Technical

Күн бұрын

Пікірлер: 107
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
Guys, it's very important video, Handling GET Request in RESTFul API❤️ Hope you love the video 👍
@niranjankumarkushwaha6761
@niranjankumarkushwaha6761 4 жыл бұрын
Thank you so much sir for your splendor efforts , I learnt a lot from your videos. I have a humble request to you to create a full project on MERN stack like whatsapp or facebook. You are really awesome . Thanks
@dhruv9317
@dhruv9317 3 жыл бұрын
API hosting ke liye v ek video bana do
@okaifsid4581
@okaifsid4581 3 жыл бұрын
The funniest part is 3-2-1 boom guys and errors came 🤣
@sanatanShishya1521
@sanatanShishya1521 4 жыл бұрын
Very nice video, Aap please is series ko complete kriyega, Doesn't matter how much views and likes will come in this video's, Because it is significantly helping everyone who actuallty want to learn from here and get a good grasp in technical skills. Thanks for your all effort and hard work..!! Keep growing.
@visitor_t-w3p
@visitor_t-w3p 7 ай бұрын
This is the best backend playlist available on youtube 100%
@owaiskhan7607
@owaiskhan7607 3 жыл бұрын
the best tutorials in the world , even paid course can't be this good
@killeraloo3247
@killeraloo3247 Жыл бұрын
Thank you so much Vinod bhai. Naya naya laga hoo ek company mein, tumhari videos se kafi help milti hai. Please keep making videos. Your videos are so easy to understand and very informative as well. Thank you again. 🧡 from UP.
@codingbaba672
@codingbaba672 3 жыл бұрын
This is the best video on youtube for REST API that too in hindi. Sir your are doing great job for youth
@dennyage4791
@dennyage4791 3 жыл бұрын
Guys sir ki videos like Karo, taki aur logo bhi recommend ho, sir ki growth rukk se gyi hai
@jaqimughal9821
@jaqimughal9821 4 жыл бұрын
no one can teach as u awesome love from pakistan
@SandeepKumar-uy8pt
@SandeepKumar-uy8pt 4 жыл бұрын
Thank you so much for your kind help please make a full project using MongoDB , Express ,React Js and Node js so that everything could be clear easily. Please make a full project. 🙏🙏
@RajeshKumarMohanta-cc2zq
@RajeshKumarMohanta-cc2zq Жыл бұрын
Boom Guys 💻💻
@bhushanambhore8378
@bhushanambhore8378 2 жыл бұрын
Appreciable work sir, as you said this video is certainly indeed helpful! Get learnt a lot from you❤
@ameerhamzakhan5169
@ameerhamzakhan5169 Жыл бұрын
Giving recap was good in the start of the video... 👍
@AkashGupta-jl9cl
@AkashGupta-jl9cl 3 жыл бұрын
tum bahut kaaam krte ho thapa bhai 😍♥
@Amandeep-uc7qh
@Amandeep-uc7qh 3 жыл бұрын
This playlist is so underrated bhai
@sandeepkumarg1889
@sandeepkumarg1889 10 ай бұрын
great lecture bhaiya ji thank u so much
@soniramgaur564
@soniramgaur564 2 жыл бұрын
Really very nice video well explained I have seen so much videos but your videos are very nice. 👍
@natureanimals4210
@natureanimals4210 7 ай бұрын
Love to watch your videos
@gauripachauri3626
@gauripachauri3626 3 жыл бұрын
Great content and amazing teaching!! Hats off to you
@Mrtech-jf9yc
@Mrtech-jf9yc 4 жыл бұрын
First 00:00
@SumitKumar-sx1oi
@SumitKumar-sx1oi 3 жыл бұрын
Watching this play list and its awesome
@usmanhasan6192
@usmanhasan6192 2 жыл бұрын
And boom guys 💥
@AttackModeGaming
@AttackModeGaming 2 жыл бұрын
very helpfull lecture bhai thank u
@TahirHussain-ep9us
@TahirHussain-ep9us 2 жыл бұрын
thank you so much for this video.. lot of love
@rajuraj1257
@rajuraj1257 4 жыл бұрын
Awesome video . Thanks 🙏😊
@tanveerkhan627
@tanveerkhan627 3 жыл бұрын
Awesome hai sir 🙏
@Sunilkumar-oy6fd
@Sunilkumar-oy6fd 4 жыл бұрын
Please make a full web application using node js , express js ,react js, mongodb so we can understand how to make complete web app using mern stack
@MridulBorah2014
@MridulBorah2014 3 жыл бұрын
Me too waiting for the same. Also, include redux in the same project if possible.
@hamzajaved6110
@hamzajaved6110 2 жыл бұрын
speechless👌👌👌
@johnthapa1879
@johnthapa1879 4 жыл бұрын
Thank you so much ☺️
@04.nehalsingh12
@04.nehalsingh12 2 жыл бұрын
awesome tutorial sir
@usmanmughal5916
@usmanmughal5916 4 жыл бұрын
Waiting for big project with user login and CRUD operation.
@anikety1498
@anikety1498 3 жыл бұрын
Nicely explained
@swapnilnath8761
@swapnilnath8761 4 жыл бұрын
Thapa technical, please create one series for nodejs with mysql.
@dhruv9317
@dhruv9317 3 жыл бұрын
API hosting par v ek video bana do
@aryanbiswari2451
@aryanbiswari2451 3 жыл бұрын
bhaiya host kese karte hai api ko??
@MrRoasi
@MrRoasi 4 жыл бұрын
Good👍
@ThapaTechnical
@ThapaTechnical 4 жыл бұрын
Thank you 🙏
@GadgetMeta
@GadgetMeta 3 жыл бұрын
Can I fetch the API using Fetch.then?
@stiphenrobert4469
@stiphenrobert4469 4 жыл бұрын
Iss k bad....jwt authentication v sikhao sir
@js-swift
@js-swift 4 жыл бұрын
Sir please make video on roadmap for full stack web development from your videos because you made many videos on javascroipt and more like html and css so when i watch i don't able to understand from where i have to start i started searching videos on javascript but you made many playlist from where i have to start please this is a request that please make road map on your videos so from where i have to start or if you give personal coaching so please sir let me know about this even i email but you didn't reply
@js-swift
@js-swift 4 жыл бұрын
i don't need Dil sir really need guidance
@tazimansari1243
@tazimansari1243 3 жыл бұрын
Nice video sir
@mcaddit6802
@mcaddit6802 2 жыл бұрын
@sagarprajapati3486
@sagarprajapati3486 4 жыл бұрын
Please start shopping website using MERN plzzzz
@sagarprajapati3486
@sagarprajapati3486 4 жыл бұрын
When you start shopping website playlist
@umeshbhati1042
@umeshbhati1042 2 жыл бұрын
min property does not work as minlength which is defined only for string so pls provide a property like minlength for NUmbers also
@ravibarwad7138
@ravibarwad7138 2 жыл бұрын
Bhai database me Name College name Location Hai Or isme se sirf sare names print karane ho like list chahiye to kya karna hoga
@thebishalpaul
@thebishalpaul Жыл бұрын
minor correction: in the if else statement it sould be studentData==" " instead of (!studentData)
@nishantmoolya
@nishantmoolya Жыл бұрын
Thanks bro, even I was getting same problem
@thebishalpaul
@thebishalpaul Жыл бұрын
@@nishantmoolya 😊
@nishantmoolya
@nishantmoolya Жыл бұрын
But if he uses findOne() then "!" this logic is correct
@thebishalpaul
@thebishalpaul Жыл бұрын
@@nishantmoolya Okay did you try that. why will that work actually 🤔
@faizansheikh358
@faizansheikh358 3 жыл бұрын
I'm not getting the data in pretty format after entering that url What can I do for that?
@asadalisoomro8937
@asadalisoomro8937 3 жыл бұрын
install json formatter extension in chrome
@fahadraza7152
@fahadraza7152 Жыл бұрын
I see an error when I access individual student data 'Cannot set headers after they are sent to the client'
@shubhashishbhattacharya7917
@shubhashishbhattacharya7917 4 жыл бұрын
Hi @Thapa sir, I tried with the code , passing an incorrect id. But I am not able to get the 404 status code. Instead it jumping on the catch block resulting 500 status code.
@jashanpreet832
@jashanpreet832 3 жыл бұрын
Good
@SubhamKumar-9009
@SubhamKumar-9009 3 жыл бұрын
best video
@AmazonFinds-001
@AmazonFinds-001 3 жыл бұрын
Sir kindly tell us how does this arrow sign appear as it doesnt appear like this in mine. I mwan like which extension are you using for it in vscode. If someone else know kindly let me know
@sairampatil5410
@sairampatil5410 Жыл бұрын
you just need to press equals symbol then greater than symbol =>
@ROYAL-qw5ui
@ROYAL-qw5ui Жыл бұрын
How can we use mongodb data in our hmtl file?
@Sameer_tahir
@Sameer_tahir Жыл бұрын
ruko zara..... sabar karo
@vakilsingh5086
@vakilsingh5086 4 жыл бұрын
Good!!
@fsociety692
@fsociety692 3 жыл бұрын
with name its giving an error
@monaligangane9637
@monaligangane9637 2 жыл бұрын
how to find by users name ?we understand find by id
@shocchosolutions
@shocchosolutions 4 жыл бұрын
Bro please use it with react
@mukulsinghbisht2434
@mukulsinghbisht2434 3 жыл бұрын
india visual data
@computeearning432
@computeearning432 3 жыл бұрын
boom guys
@pushkarbansal1926
@pushkarbansal1926 3 жыл бұрын
Hey Guys, how to make get request using name. Its not happening like I did in id
@kunalprashantpatil6332
@kunalprashantpatil6332 3 жыл бұрын
did you figure it out ?
@shocchosolutions
@shocchosolutions 4 жыл бұрын
How to secure rest api?????????
@shivamchouhan5077
@shivamchouhan5077 4 жыл бұрын
Thapa bro, plz iss video ka code explain kar do ya at least iss par ak video bana do kzbin.info/www/bejne/nV6poXeHbaqkrZo
@shivamchouhan5077
@shivamchouhan5077 4 жыл бұрын
Plz reply
@shivamsrivastava487
@shivamsrivastava487 3 жыл бұрын
name se kaise data retrieve kare koi batade yr
@RaushanKumar-rz8pd
@RaushanKumar-rz8pd 3 жыл бұрын
pata chala kya
@stream-tunes
@stream-tunes 2 жыл бұрын
app.get("/studentsbyname/:name",async (req,res)=>{ try{ const name=req.params.name; let studentData=await Student.find({name}); res.status(200).send(studentData); } catch(err) { res.status(404).send(err); } })
@AmanSingh-wq3xn
@AmanSingh-wq3xn 3 жыл бұрын
Bom video
@hamz4arif
@hamz4arif 4 жыл бұрын
what is __v:0? it's coming always
@jivrajupadhyay887
@jivrajupadhyay887 2 жыл бұрын
Plz if any one has done searching via name given by /students/:name then plz suggest
@poojakasar4572
@poojakasar4572 2 жыл бұрын
yes.. I tried //find by name app.get('/students/:name', async(req,res) => { try{ // console.log(req.params.name); let studName = req.params.name; let studentData = await Student.find({name:studName}); // console.log(studentData) if(!studentData){ res.status(404).send(); } res.status(200).send(studentData); }catch(err){ res.status(404).send(err); } })
@jivrajupadhyay887
@jivrajupadhyay887 2 жыл бұрын
@@poojakasar4572 Thankyou so much
@Akash-dv3id
@Akash-dv3id Жыл бұрын
@@jivrajupadhyay887 its not working
@Sameer_tahir
@Sameer_tahir Жыл бұрын
@@poojakasar4572 tum to khud thapa ho ! bro 🎃
@SumitKumar-sx1oi
@SumitKumar-sx1oi 3 жыл бұрын
3 - 2 - 1 and boom guys... Error aa gaya 😂😂😂😂
@sumitsingh000
@sumitsingh000 2 жыл бұрын
app.get("/api/:name", async(req, res) =>{ try{ const _id = req.params.name const studentData= await Student.find({name: new RegExp('^' + req.params.name + '$', "i")}); if(!userData){ res.status(404).send(); }else{ res.status(201).send(studentData); } }catch(e) {res.status(401).send(e); }; });
@Akash-dv3id
@Akash-dv3id Жыл бұрын
Thanks Man
@prashantsingh-oy8go
@prashantsingh-oy8go Жыл бұрын
Thanks bro
@amantiwari1163
@amantiwari1163 3 жыл бұрын
Sir awesome tutorial. Thankyou so much. But a complaint from you is i dropped you a message on Instagram regarding a query but you didn't respond it till time. Please do check our queries too will be very thankful. 🙏
@kiranshinde03
@kiranshinde03 2 жыл бұрын
solution to get the information of student with the help of name, pass the name in url app.get("/students/:name", async(req, res) => { // res.send("hello this is home page😍"); try { const name = req.params.name; const studentData = await Student.findOne({ name }); res.status(201).send(studentData); } catch (error) { res.status(404).send(error); } })
@shashankbisht7204
@shashankbisht7204 2 жыл бұрын
bro error ara hai
@thenextgyani6040
@thenextgyani6040 2 жыл бұрын
@@shashankbisht7204 comment out whole get method in which we were accessing the data by id and then run code alone it will run definetly.... Actually error is coming because the name we are providing in the url is taken as id because of this -> /:id and /:name.
@Akash-dv3id
@Akash-dv3id Жыл бұрын
@@thenextgyani6040 bro code me id ka hai or ab name ka bhi bhut name thbhi work krta hai jab hum id ko comment out krr dete hai ???
@chetangupta2130
@chetangupta2130 Жыл бұрын
@@thenextgyani6040 Hello, bro then what is the solution how to run both end points simultaneously in the same code.
@shraygupta9990
@shraygupta9990 Жыл бұрын
@@thenextgyani6040 how can we resolve that ? If I am providing name then route /:name should run and when I am providing id then route /:id should run
@uttamsingh5465
@uttamsingh5465 2 жыл бұрын
for getting the indivisual student data using id can we use this code? app.get("/students", async(req,res)=>{ try{ const studentsData = await Student.findById("62ecfdea5e500989bd186b72"); res.status(201).send(studentsData); }catch(error){ res.status(404).send(error); } });
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Getting Started with Express and NodeJS
11:28
Piyush Garg
Рет қаралды 112 М.
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,8 МЛН
CRUD API Tutorial - Node, Express, MongoDB
1:33:14
freeCodeCamp.org
Рет қаралды 331 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 496 М.
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН