Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial

  Рет қаралды 1,005,547

developedbyed

developedbyed

Күн бұрын

Пікірлер: 1 600
@samadabbas4628
@samadabbas4628 Жыл бұрын
For people visiting this tutorial recently, some important things to note: 1. MLAB is not in function anymore you have to use mongodb atlas. 2. the cluster by default will not allow write access so you have to set it up in settings. 3. At 44:00, remove function is deprecated so you have to use deleteOne function
@sirikamkanampati1112
@sirikamkanampati1112 Жыл бұрын
Can you tell where we have to change the access exactly?
@valerio9851
@valerio9851 Жыл бұрын
thank you so much! I was like wtf is going on? ahahahaha thanks a lot
@ngantukASMR
@ngantukASMR 9 ай бұрын
Also id recommend using express.json() as a middleware instead of using body parser, since its built in
@iqrasuhail3516
@iqrasuhail3516 3 жыл бұрын
I’m a student studying CS at Ball State University, IN. I am not someone who would comment on a video on youtube because she likes it. This is legit the first time ONLY to tell you that nobody explains it better. All your videos, be it explaining hooks in React, cool animations or CSS, or this tutorial - they are all explained so well! Thank you for your content.
@Shinoku911
@Shinoku911 5 жыл бұрын
Please don't stop with this tutorials!! Super awesome for beginners like me.
@BekBrace
@BekBrace 4 жыл бұрын
Good luck friend, although I do not think that this specific tutorial is for beginners because if you already know about these techs then you're not a beginner anymore :)
@lemuelreyes1941
@lemuelreyes1941 4 жыл бұрын
Spent all day looking for someone to teach it in an understandable way, this ended my search. Thank you!
@dragonballsuper1519
@dragonballsuper1519 4 жыл бұрын
You are a really good teacher. You don´t just code away but actually take your time to explain what´s happening with each line of code. It makes it so much easier to understand! Subbed.
@kevinsana8442
@kevinsana8442 4 жыл бұрын
I am taking my first steps into junior development. I was tasked by my mentor to create an API with only 1 Route. He asked for just a 2 tier database architecture as 3 might have been difficult for me to comprehend. After a few hours of searching the internet, I stumbled across this video among other older videos. This was the only tutorial that fundamentally taught me everything i needed to know and more. Thank you so much for your help! I cannot wait see what else I can learn in programming :)
@abdullahakram4942
@abdullahakram4942 4 жыл бұрын
1 Year later still the best tutorial. Just started NodeJs and this covered mostly all the concepts i needed to build an API. Keep up the good work!!
@JagathVM
@JagathVM 3 ай бұрын
5 years later, still the best tutorial :)
@TechnicalStudio
@TechnicalStudio 4 жыл бұрын
I loved your teaching style 😍😍.. Keep it up.. It helps us a lot
@egesaglam9500
@egesaglam9500 3 жыл бұрын
@Nikolas Ryker i have another scammers thanks alot
@11am
@11am 5 жыл бұрын
I really love people that teach code with character, it's so much engaging than being stiff and plain, thank you! Also you can use Yarn instead of npm haha
@programming5835
@programming5835 3 жыл бұрын
best course to learn about node js for beginners . Don't search for any other course just continue his technique it's worth a time.
@kaanuki3203
@kaanuki3203 5 жыл бұрын
Ive watched many Node, Express tutorials. This is, by far, the best one Ive seen. Thank you!
@blazi_0
@blazi_0 3 жыл бұрын
hi i hope u can help me why middlewares not working ? app.use not working for me
@codergeany5861
@codergeany5861 4 жыл бұрын
Finally found a developer with humor , nice tutorial man
@noeljose
@noeljose 3 жыл бұрын
Honestly, I spend 53 minutes and 54 seconds of my life learning something useful. Thank you, Ed. You will have a good love life.
@dankrahul3038
@dankrahul3038 2 жыл бұрын
😂 you nailed it
@danfoyuk
@danfoyuk 4 жыл бұрын
I put this on for 10 minutes of background noise while I made my morning coffee and ended up transfixed for the whole thing. Your style is incredibly engaging, I laughed out loud a bunch of times and I could listen to your accent all day. Thanks a lot!
@Vt12365
@Vt12365 4 жыл бұрын
Thank you for making this, most tutorials I come across are difficult to understand or way too slow. Your pace and explanations for this tutorial is perfect. It is exactly what I was looking for.
@Lovedeep555
@Lovedeep555 3 жыл бұрын
Whenever I want to learn something from youtube I search that Keyword and starts watching that videos, but if I don't understand that, I just search for your channel and find that topic, and that's it. thank you for making these educational videos. ♥♥♥
@pixelove1100
@pixelove1100 4 жыл бұрын
Dude, you're saving my life. Explained that even I understood whole flow and what each line of code is doing. You definetely should compete for a Nobel Prize or something. Thanks mate!
@The.SpiritualScientist
@The.SpiritualScientist 2 жыл бұрын
I was doing an online course on node js and would always freak out when it comes to connecting with Mongo db. Literraly stopped continuing on that paid course to return to KZbin and learn it so well from this video. No wonders, you are a great teacher and have bright future. My best wishes and blessings for a great love life as well. Keep up the great work with the same passion and you will see miracles happening in your life. Thanks again. God bless you.
@vaibhavherugu9862
@vaibhavherugu9862 4 жыл бұрын
I was building an API, and this taught me everything! Keep making videos about APIs! Thanks!
@teamLeaderOP
@teamLeaderOP Жыл бұрын
After investing money on udemy courses and countless hours of navigating through complicated documentation and tutorials accross the web, I was finally able to build my first REST Api with the help of this video and not only did I built it, I also grasped the fundamental architecture of the implementation of REST in Node.js world. Thanks a lot for making my day. Liked, shared and subscribed! 😊♥
@dean6046
@dean6046 5 жыл бұрын
First time viewer here. Love the energy, passion and light hearted humor. Keep up the good work! I believe I got here from Brad Traversy recommending your channel.
@bettinimarcelo
@bettinimarcelo 3 жыл бұрын
Just created my first API with this tutorial. And, most important, not just copied your code but understood every step. Lott'a loving from Argentina man.
@chrisgermann7414
@chrisgermann7414 5 жыл бұрын
Maaaannn you are my Hero! I struggled so long with all this stuff and finally I really really get it. Thx a lot for your tutorial! It was amazing :D
@mhonjesterjohncalingo8799
@mhonjesterjohncalingo8799 3 жыл бұрын
Your teaching style never gets me bored. If I can only Subscribe on your channel for a thousand times I'll do it. Keep it up and may you never runs out of energy doing this.
@developedbyed
@developedbyed 5 жыл бұрын
Magic!
@daniyelme9535
@daniyelme9535 4 жыл бұрын
Hi Ed, what happened to your Github account? Thanks for the great content!
@whiteblackbox
@whiteblackbox 3 жыл бұрын
i finally knew your trick after slow it down on 0.25 speed :)
@amitsharma8337
@amitsharma8337 2 жыл бұрын
Can't even explain how simple and intuitive this code flow and explanation is. Content like this >>>>>
@Sconner87
@Sconner87 5 жыл бұрын
Great tutorial, I'd love to see the front-end as a part two of this tutorial. Keep up the great work!
@developedbyed
@developedbyed 5 жыл бұрын
Finally 1080p jesus...
@thanveershah4758
@thanveershah4758 5 жыл бұрын
@Jack Rong Nop , I don't think we need that
@kelvinmunene4750
@kelvinmunene4750 5 жыл бұрын
Nice videos. Kindly, do a video on MERN
@Oshchenkov
@Oshchenkov 5 жыл бұрын
When you init npm add flag -y for standart settings ( npm init -y )
@arif.wijianto
@arif.wijianto 5 жыл бұрын
awesome thanks you ed
@razx2009
@razx2009 4 жыл бұрын
Just a quick question can we read data from already existing collection in mongo without creating schema?
@walkingowl6810
@walkingowl6810 2 жыл бұрын
The way you teach is clear and easy to understand for newbies. Best JS tutor on KZbin !!!!!!!
@huangehe8306
@huangehe8306 5 жыл бұрын
I think that it will be cool if U make tutorial for authorization (registration, login) app with some other features (for example,using React for front), and show how to integrate that with backend. Thank u for great explaining.
@janzmarfz373
@janzmarfz373 4 жыл бұрын
up for this or btw angularjs
@SivaNare
@SivaNare 4 жыл бұрын
guys can some one share working code please (github) devE's link for github in description doesent exist i am having issue writing data to database but i am not getting any errors couldn't figure out trying very hard
@ege2026
@ege2026 3 жыл бұрын
@@SivaNare did you find it? i post data from postman but it gives an empty error message while it's not responding the data back.
@GTX-cr4ob
@GTX-cr4ob 2 жыл бұрын
@@ege2026 i can help
@santoshpasupunuri
@santoshpasupunuri 4 жыл бұрын
No beating around the bush. Straight to the point. Loved it!
@ezeamaka
@ezeamaka 5 жыл бұрын
Awesome tutorial here, been looking for this RESTAPI with async await, it just came at the right time. I would like to see you go in depth with user auth and bcrypt. You just saved a soul
@blazi_0
@blazi_0 3 жыл бұрын
hi why middlewares not working ? app.use not working for me
@bl4ckmedia323
@bl4ckmedia323 2 жыл бұрын
What an awesome tutorial. I literally went from 0 to having a functional REST API with this and no other JS/NodeJS background. If you cant connect to mongoDB with mongoose (like me!), make sure that your IP is whitelisted under the "Network Access" Tab
@subialijaz7823
@subialijaz7823 2 жыл бұрын
Thank you.. was also struggling the same
@pockit_fluff
@pockit_fluff 4 жыл бұрын
For people having trouble around the 33:00 minute mark when trying to commit a post via Postman I suggest checking your name and password is correct on your mongoDB link.
@kiranmahajan778
@kiranmahajan778 4 жыл бұрын
Its totally correct but still not working
@joseheliojunior242
@joseheliojunior242 4 жыл бұрын
U are right man. It´s a big confusing, but I got it Thanks.
@robertoradu9965
@robertoradu9965 4 жыл бұрын
@@kiranmahajan778 Have you solved ? Commit (save method) is not working and no error message is displayed!
@robertoradu9965
@robertoradu9965 4 жыл бұрын
here the solution: check if your ip changed, update your whitelist in the mlab, then it should work
@kiranmahajan778
@kiranmahajan778 4 жыл бұрын
@@robertoradu9965 okay i will try!
@muhammadadamfahmililmi7971
@muhammadadamfahmililmi7971 4 жыл бұрын
Before, I was a PHP Developer. I want to improve my skills in the Back-End area. After a long time of pondering, I want to move to NodeJS. Thank you for making this great video. I can understand your explanation very easily. Greetings from Indonesia~
@guido2333
@guido2333 5 жыл бұрын
This is awesome! well explained, easy to understand and great tempo!
@anshumanp74
@anshumanp74 3 жыл бұрын
for those who are getting error or say the /posts is not loading then just write // Middlewares app.use('/posts', (req, res, next) => { console.log("hello this is a posts middleware"); next() }); the next function removes the discontinuation to the get handlers which are below the app.use middleware
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Anshuman, thanks for that tip! have you completed many projects in node? Are you a 2021-passout and open to opportunities in web development currently?
@nirav10011101
@nirav10011101 5 жыл бұрын
This one is cool tutorial. To the point. Btw, mlab has been acquired by Mongo atlas. So, everything has been changed
@maniiakas
@maniiakas 4 жыл бұрын
Not really, Mongo atlas is almost identical and it is very easy to go along with the tutorial
@brad3201
@brad3201 Жыл бұрын
Initializing project 0:00 Including express 2:35 Creating routes 3:45 Middleware 6:17 Connect to MongoDB database 8:24 Creating models and API calls 20:33 POST Requests 25:00 GET Requests 38:33 DELETE Requests 42:41 PATCH Requests 45:34
@AlejandroLZuvic
@AlejandroLZuvic 4 жыл бұрын
"Good job package.json, you're doing your job!" I spat my coffee laughing LOL
@user-rd3jw7pv7i
@user-rd3jw7pv7i 2 жыл бұрын
SIR This has got to be the most clear, concise and well made programming tutorial that I have EVER seen. Please keep making videos in this format. I can't express in words how helpful this video is for me. THANK YOU
@developerjusta6673
@developerjusta6673 5 жыл бұрын
Please make a full tutorial building a chat app with React and Firebase! :) It would be really helpful!
@petrhanzl8399
@petrhanzl8399 3 жыл бұрын
this one hour video summarize three lectures that are 2h long on my collage. Appriciate your work dude! Thank you
@christian15213
@christian15213 4 жыл бұрын
YOOOOO lol you made me laugh so hard when you were like "I don't know why you would have a price." The way you gave attention to that was just awesome. "let me get rid of that." OMG laughing so hard.
@esthersheinaagishtein1270
@esthersheinaagishtein1270 4 жыл бұрын
For anyone doing this now, when you can't just use mlab but have to use Atlas: You need to click connect your cluster via application, copy and paste that string. In addition, you might have to create a DB for that cluster if you haven't already. To do this click the collections button on the cluster and then hit add a database.
@nathanhernandez726
@nathanhernandez726 2 жыл бұрын
You are an absolute legend for this! Postman kept returning no data on the post request and I was about to give up
@jasonennis4905
@jasonennis4905 5 жыл бұрын
Let me guess the one dislike on this video is a PHP developer.
@peefg
@peefg 5 жыл бұрын
😕 I don't think so.. I am PHP developer, but I have always wanted to start with something like this. This guy is a hero for me. I have immediately subscribed and liked this video. I wish he had zero dislikes.
@ajricherson1099
@ajricherson1099 5 жыл бұрын
Php devs don't love themselves
@RadosBudisa
@RadosBudisa 4 жыл бұрын
@@ajricherson1099 We don't love our selfs but we are selfless!
@oyoyoyoyoyoy9479
@oyoyoyoyoyoy9479 4 жыл бұрын
@@peefg no, probably thats Java guys
@__sagar_shah__591
@__sagar_shah__591 4 жыл бұрын
wow that's not sarcastic at all!!!!
@adiravraham917
@adiravraham917 4 жыл бұрын
Great turotial! Btw, for whom watches the video today - remove() is deprecated. Insted use deleteOne() method.
@liers2563
@liers2563 5 жыл бұрын
Hi, I'm having problem with postman. Its returning me "could not get any response" when posting "my first post" but prior to that it is showing in the terminal. What could be wrong?
@surajitsil1996
@surajitsil1996 4 жыл бұрын
I'm having it too, did you solved it? then kindly tell me the solution.
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
did you manage to find the solution to this? im having the same issue.. :(
@rjandonirahmana4326
@rjandonirahmana4326 3 жыл бұрын
i used to watch this video and yet couldnt understand(because i was really beginner at coding) and recently learnt how to build an api with GO, and its actually easy, and now i come back again watch this video, and finally understood what those code do, i mean thankyou for video, ts great. and for people who struggle with JS, Go is trully beginner friendly. thanks
@daniellaerachannel
@daniellaerachannel 5 жыл бұрын
use mongodb atlas instead of mlab, cause is has been acquired, great tutorial
@kenyadorcelus917
@kenyadorcelus917 5 жыл бұрын
By MongoDB
@GaurangDhorda
@GaurangDhorda 5 жыл бұрын
Mlab is Now part of the MongoDB family... so atlas too :)
@sahelee1
@sahelee1 5 жыл бұрын
can anyone tell me how to do that??
@aozdesigns6675
@aozdesigns6675 4 жыл бұрын
@@sahelee1 did you know how to do that?
@riskitall7421
@riskitall7421 3 жыл бұрын
You are literally my favorite teacher on KZbin. You know how to dumb things down to let everyone understand it. Thank you Ed for making things simple!
@Hari2897
@Hari2897 4 жыл бұрын
I'm following along the tutorial but Postman is stuck at "Sending" @ 34:12 It prints console log message but nothing with mongoDB... I see nothing nothing updated in MongoDB atlas too. Please reply as to what could the solution to the problem be?
@mdhishaamakhtar2040
@mdhishaamakhtar2040 4 жыл бұрын
Same
@n_arin
@n_arin 4 жыл бұрын
Check your DB connection string
@ChrisPChickennn
@ChrisPChickennn 4 жыл бұрын
same problem. I tried retrieving the connection string again, no luck. seems to be a problem with the promise, or postman not working with the db. my postman console log shows Error: socket hang up on the post requests im sending after they fail - looked online for context/resolution, not much help.. only thing i could find that might help is about making sure the proxy is configured correctly. thats outside my wheelhouse, i just made sure to turn off any proxy in postman via settings>proxy, still no luck.
@chinkx1998
@chinkx1998 4 жыл бұрын
Hi. I am facing the same issue. Do u guys able to find a solution?
@walljacket
@walljacket 4 жыл бұрын
I had the same issue. It took me hours to catch the issue.. I spelled mongoose with a capitial "M" as in const mongoose = require('Mongoose') thus all of my db operations timed out.
@nitinjena535
@nitinjena535 2 жыл бұрын
man, I was searching CRUD and everyone making tons of file structure & MVC style, I knew Express has a patch method but no one really used that ...Thanks man
@jaydesai1430
@jaydesai1430 3 жыл бұрын
Hey I'm getting error on the time interval of 33:47 to 35:54 were there is new (first) data generate for the mongoose with post. For me its just going into the ".catch" instead of the ".then"
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
did you manage to find the solution to this? im having the same issue.. :(
@jaydesai1430
@jaydesai1430 3 жыл бұрын
@@kristboshnjaku135 try { const savedPosted = await post.save(); res.json(savedPosted); }catch(err) { res.json({ message: err }); }
@jaydesai1430
@jaydesai1430 3 жыл бұрын
@@kristboshnjaku135 Try this out and also one more thing make sure you have your ip address connected to the altas mongo db because when you run on localhost it won't with just db user and password you will need to config the ip address.
@jaydesai1430
@jaydesai1430 3 жыл бұрын
@@kristboshnjaku135 These 2 thing resolved my issue.
@LIFE-nr1yg
@LIFE-nr1yg 3 жыл бұрын
@@jaydesai1430 hi Jay, sorry to say but this didn't help; still catching the error not the post itself in Postman.
@remitto8367
@remitto8367 4 жыл бұрын
Couldn't wrap my head around even the basics of Express until I watched this. Excellent tutorial.
@shubhammukherjee6845
@shubhammukherjee6845 5 жыл бұрын
Hey man, I need help. I am totally new to Express+Mongo, I have done exactly what you have showed. Its getting connected to database too. But when I am trying to post(save) data to database, its not showing any result( res.json(data) is not coming up in postman). What I think is happening is I have not mentioned the collection name. Do we need to specify the collection name too in Schema. if yes, could you please provide me with full details. Thanks in advance
@chanellesesh4977
@chanellesesh4977 5 жыл бұрын
Did you manage to fix this??
@shubhammukherjee6845
@shubhammukherjee6845 5 жыл бұрын
@@chanellesesh4977 yes. We need to pass the collection name as a parameter if the collection is already created in the database. In my case, I wanted to use one of the collection already provided in Mongo Db Atlas. So I just pass the name of the collection as a parameter in the Schema. That's it.
@shubhammukherjee6845
@shubhammukherjee6845 5 жыл бұрын
@ yeah sure const GradesSchema = mongoose.Schema({ recrd : { type : String }, vesslterms : { type : String }, feature_type :{ type : String }, chart :{ type : String }, latdec :{ type : Number }, londec :{ type : Number }, gp_quality :{ type : String }, depth :{ type : String }, sounding_type :{ type : String }, history :{ type : String }, quasou : { type : String }, watlev: { type : String } }, {collection : 'shipwrecks'}); The 'shipwrecks' being the collection name.
@shubhammukherjee6845
@shubhammukherjee6845 5 жыл бұрын
@ are you giving the right database name in the connection url? Change the 'test' part with your database name in the connection url
@StephenSimon
@StephenSimon 3 жыл бұрын
{ useNewUrlParser: true, useUnifiedTopology: true }, add this to your app.js file inside mongoose.connect
@ravindersingla2792
@ravindersingla2792 3 жыл бұрын
You are one of best teacher i had ever seen ... I myself also educator ..on serious note the way you explain is really simple connecting ... Its easy to understand and covers every major concept... Thanx sir for this contribution ... Looking forward to get more and more knowledge from you sir . 🙏
@FredricCliver
@FredricCliver 4 жыл бұрын
Don’t be emotional 😂 Thank you for this good tutorial!
@dorondavid4698
@dorondavid4698 4 жыл бұрын
I REALLY like that you don't fix typos in words or etc because really, who cares. We're here to learn how things work, not to perfect grammar!
@yayz_
@yayz_ 3 жыл бұрын
10:40 "It says to connect use driver blah blah blah blah here" ... This is pretty much how I read documentation..
@bakercsgo5822
@bakercsgo5822 2 жыл бұрын
just another comment saying how good of a teacher you are... making me laugh while im learning is going to keep my attention longer and you are a part comedian too. thanks so much for your service!
@tiagooliveira9196
@tiagooliveira9196 5 жыл бұрын
Hey Ed, are you pretending to create a frontend tutorial to interact with this REST API ?
@Gimmel748
@Gimmel748 3 жыл бұрын
Seriously, I love this channel. It's just refreshing to have interesting/funny full-stack instruction, for a change. It's the first online course that got me excited about coding.
@chilakalaganesh6554
@chilakalaganesh6554 2 жыл бұрын
u
@chilakalaganesh6554
@chilakalaganesh6554 2 жыл бұрын
hk;
@santiagowhite5467
@santiagowhite5467 3 жыл бұрын
When I post, the json file comes only with message={} , and it doesnt post anything to mongodb atlas. Help
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
did you manage to find the solution to this? im having the same issue.. :(
@santiagowhite5467
@santiagowhite5467 3 жыл бұрын
@@kristboshnjaku135 I manage to fix it: const express = require('express'); const router = express.Router(); const Film = require('../models/Film'); router.get('/', (req, res) => { console.log("We are on films GET"); res.send('We are on films GET'); }); router.post('/', (req,res) => { console.log("We are on films POST"); console.log(req.body); res.send('We are on films POST'); }); module.exports = router; just edit films to whatever u want
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
@@santiagowhite5467 You managed to run the code and get the console.log work, but did you actually manage to insert your data to the db? that's the problem here...
@santiagowhite5467
@santiagowhite5467 3 жыл бұрын
@@kristboshnjaku135 I did, I suggest you watch a more recent video by Dev Ed in which he uses mongodb atlas, where he takes all steps necessary to ensure connectivity with db. The name of the video is “build a nodejs api authentication (...)”. He builds a rest api aswell.
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
@@santiagowhite5467 Ok, I'll give it a try... I'm still confused why it's just catching the error instead of the data first :p At least I can get it working.. Much appreciated bud!
@Hydrush
@Hydrush Жыл бұрын
Thank you so much buddy, Only left to learn for me was backend and you made it so easy. Now i can move on to my journey on becoming a full stack developer on flutter lessgo .. Love you man.
@itsnobledean9450
@itsnobledean9450 11 ай бұрын
I'm new to all of this. I have been taking courses on these very topics, Node.js, MongoDB, and API creation, and maintenance. I'm not done taking courses, but this has definitely helped me better understand how I can create my own website.
@Scapben
@Scapben 4 жыл бұрын
somehow this syntax at 29:13 worked for Ed but not for me... router.post("/", (req, res) => { console.log(req.body); }); ...when sending a POST request with Postman, I could not get any response SOLUTION: router.post("/", (req, res) => { res.send(console.log(req.body)); }); INSTEAD OF router.post("/", (req, res) => { console.log(req.body); }); I have no idea what I'm doing but this worked for me !
@kristboshnjaku135
@kristboshnjaku135 3 жыл бұрын
did you manage to find the solution to this? im having the same issue.. :(
@ayeshashabbir2097
@ayeshashabbir2097 3 жыл бұрын
facing same issue.. i am just getting: { "message": {} }
@Scapben
@Scapben 3 жыл бұрын
​ @Krist Boshnjaku and @Ayesha Shabbir Did you try res.send(console.log(req.body)); INSTEAD OF console.log(req.body); ? That worked for me three months ago.
@ayeshashabbir2097
@ayeshashabbir2097 3 жыл бұрын
Yes I tried res.send at first but it didn't work ..so just for checking I changed it to console.log to see whats happening.
@ayeshashabbir2097
@ayeshashabbir2097 3 жыл бұрын
@@Scapben i'll check it again!!
@ThisuriAbeywardana
@ThisuriAbeywardana 2 жыл бұрын
You are great. The way you are teaching is awesome. This is the first time I watched a whole tutorial video. Thank you for teaching all these in a simple way!
@robbiekruszynski4043
@robbiekruszynski4043 5 жыл бұрын
I'm following all the way up until 34:00(ish) for some reason when in postman I can't see the object created with the id, title, desc, etc"
@mattbra1397
@mattbra1397 5 жыл бұрын
You need to put const bodyParser = require('body-parser'); ABOVE const app = express(); and it should work - took me 2h to figure it out and it's not in the vid
@BodrumDrone
@BodrumDrone 5 жыл бұрын
@@mattbra1397 in postman use x-www-form-urlencoded mode dont use raw its work it to me
@mattbra1397
@mattbra1397 5 жыл бұрын
@@BodrumDrone thanks for the info - we got now two solutions to the issue :)
@BodrumDrone
@BodrumDrone 5 жыл бұрын
@@mattbra1397 i follow all information about solution.
@LIFE-nr1yg
@LIFE-nr1yg 3 жыл бұрын
i get postman to console the first post but when i try to get it in postman it gives me only the error part. i tried with x-www-form-urlencoded, same thing. looked online for other solutions, nothing worked
@horeaporutiu
@horeaporutiu Жыл бұрын
This is straight gas. studying for an interview and this is a massif lifesaver
@jasonhalim2485
@jasonhalim2485 2 жыл бұрын
Love your intro sir! I was actually really stressed out about the project my Lecturer gave me regarding these topics and i kinda fed up with it because ive been stuck since forever. Your intro cheered me up and help me see these stuffs in a better way! definitely gonna watch till the end
@nbits7433
@nbits7433 3 жыл бұрын
I dont know how i thank you! you just teach me nodejs , express js, mongoDb. by the way i am an native android developer and flutter developer. from now I am a node js developer to.... thank you DEV
@prewishjay5581
@prewishjay5581 Жыл бұрын
ur a great teacher. ur energy too. usually i start getting sleepy at other tutorials but urs is great
@esaukakuru7380
@esaukakuru7380 4 жыл бұрын
Dev, u just made my undderstanding of rest API much easier, just 15 min into your vid and am loving your presentation. thank you sooooo much...
@RidhoAhmad
@RidhoAhmad 4 жыл бұрын
This tutorial is better than other plenty of hours of videos i've watched... Thanks for making this !!
@swiftMyDay
@swiftMyDay 4 жыл бұрын
This is the most productive video I’ve seen in KZbin in my entire life
@GeorgesMayrink
@GeorgesMayrink 4 жыл бұрын
Great video. Thanks heaps. The entire video was both entertaining and instructional but, to me, the cherry on the cake was the little CORS bit. Many a time I had the feeling that dealing with CORS issues was an obscure arcane practice. Who’d have known the problem was so easy to solve? Thank you and regards from Brazil.
@TechWithHadi
@TechWithHadi 4 жыл бұрын
For more depth in Express & Node.js check this playlist out m.kzbin.info/www/bejne/eX3HnHqdq56An9k
@NoorAziz-j1m
@NoorAziz-j1m 11 ай бұрын
entertaining, short, tips and tricks every thing in a single video, thanks devbyED.
@rick_from_yr
@rick_from_yr 3 жыл бұрын
You're the best teacher for NodeJS REST API on KZbin :D thanks a lot
@gracefullyevan
@gracefullyevan 4 жыл бұрын
for those having trouble saving data to mongodb from postman, try editing the IP access list entry in the IP whitelist tab under cluster connect. Changing the ip address to 0.0.0.0/0 worked for me. Hope this helps ^^
@brunogssouza1
@brunogssouza1 2 жыл бұрын
This comment should be pinned. Thanks
@henryt9871
@henryt9871 4 жыл бұрын
Unbelievable ! A course 3 months in college is covered in 50 mins. You made my day bro !!
@Peaceinhills
@Peaceinhills 3 жыл бұрын
and after 7 months strugling i got the concepts of crud application guy u r awsome
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
Hey Abhishek, have you created any applications using node? Are you a fresher and open to job opportunities in web dev currently?
@Peaceinhills
@Peaceinhills 3 жыл бұрын
@@shivanigaddagimath2143 yes
@shivanigaddagimath2143
@shivanigaddagimath2143 3 жыл бұрын
@@Peaceinhills Hi Abhishek, if you are interested in knowing more about this opportunity, please get in touch with me using the info on my channel.
@Peaceinhills
@Peaceinhills 3 жыл бұрын
@@shivanigaddagimath2143 okay
@moafeenns
@moafeenns 2 жыл бұрын
I love this guy & his content. He's good at explaining everything and he makes them look like a piece of cake when it's actually the opposite.
@kasahunwelela2787
@kasahunwelela2787 Жыл бұрын
your tutorial is the best I've found, and I want to express my heartfelt thanks for your excellent teaching.
@glorysinkhonde197
@glorysinkhonde197 2 жыл бұрын
You literally make the best tutorials on KZbin
@lukasluftlaufer1093
@lukasluftlaufer1093 2 жыл бұрын
Slowly backend stuff gets demystified thanks to your amazing tutorials! 💛
@quyetpham8803
@quyetpham8803 4 жыл бұрын
This is tutorial perfect, this is what I have been looking for for a long time. Thank you from VietNam !
@sagara5982
@sagara5982 4 жыл бұрын
I'm getting an error named post.save(..).then(..).catch() is not a function can you help me out with this plzzz
@aghoghouwejeyan5701
@aghoghouwejeyan5701 3 жыл бұрын
Hi, just ran into this tutorial and you really nailed it. You made it so clear for me to understand. You're a good teacher. I had to quickly subscribe even before finishing the course. Thank you.
@mohammadghandour4756
@mohammadghandour4756 2 жыл бұрын
The fact that I subscribed just after watching your intro ?? Bruhhhh... Love your energy
@felicitya.9077
@felicitya.9077 3 жыл бұрын
Apart from being a pretty interesting teacher, you just make me laugh. You have a great personality and vibe
@fregina3813
@fregina3813 2 жыл бұрын
you look sooooooo happy, and it really makes student like me feel relaxed.
@chrollochrono
@chrollochrono 3 жыл бұрын
You're so awesome! I never imagined that I can quickly understand the CRUD in RESTful API until I saw your video. Thank you so much!
@dr4kk0nnys6
@dr4kk0nnys6 4 жыл бұрын
He made the explanation of middleware so easy, it's actually ridiculous
@tahep3906
@tahep3906 9 ай бұрын
thanks for explaining middleware concept perfectly in just one minute
@hamdi9624
@hamdi9624 3 жыл бұрын
Your love life is great cause you are giving alot of informations to people and they actually love you and your style. Keep it up man!
@jazilzaim
@jazilzaim 4 жыл бұрын
Was watching this during quarantine to learn backend a bit more! You have done such a fabulous job! Thanks for simplifying all of this! You are amazing Ed! Keep doing great work! Love your content!
@backgroundnoiselistener3599
@backgroundnoiselistener3599 4 жыл бұрын
You are the most fun youtube teacher I have ever seen
@awesomebirds6055
@awesomebirds6055 3 жыл бұрын
This is the best lecture for Express and MongoDB
@SharinganCrypto
@SharinganCrypto 2 жыл бұрын
thanks for this! much appreciated I learned several new concepts I hadn't seen before: the dotenv (which is extremely useful) for example...the dependency to get around the CORS policy error...all very informative.
Node.js Tutorial For Beginners | Node JS Crash Course
41:44
developedbyed
Рет қаралды 102 М.
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,7 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 21 МЛН
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 4,8 МЛН
Build A Node.js API Authentication With JWT Tutorial
1:15:41
developedbyed
Рет қаралды 735 М.
CRUD REST API using Node | Express | MongoDB
52:35
Telusko
Рет қаралды 383 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Build a REST API with Node JS and Express | CRUD API Tutorial
1:01:16
JavaScript Mastery
Рет қаралды 542 М.
Why You NEED To Learn FastAPI | Hands On Project
21:15
Travis Media
Рет қаралды 167 М.
How to Build a REST API with Node JS and Express
31:34
dcode
Рет қаралды 53 М.
React Tutorial For Beginners
43:19
developedbyed
Рет қаралды 849 М.
Learn Express JS With TypeScript
40:16
TomDoesTech
Рет қаралды 75 М.