I spent roughly 4.3 hours slowly coding along with you, referencing your other videos, other RUclipsrs, Googling things, trying other approaches, etc, and I think I finally have an okay understanding of APIs in general and REST specifically. Thank you! As a self-taught programmer, channels like yours are indispensable. You’re a gem, WDS, and I hope you know that! Onward!
Erratum: At Position 25:07 (the delete route), in mongoose the .remove() Method was renamed to .deleteOne(). Thanks Kyle for your amazing and up-to-date content!
I really appreciated this. I'm going through the Codecademy program on Express and was thoroughly lost. I needed to see the whole process all the way through so that I knew how it all tied together. Codecademy tends to present a piece at a time. I get that I need to learn each piece but it really helps to see how each of those pieces I'm learning fits into the bigger picture. I'll check out the rest of your channel for sure. Thank you.
Like another user pointed out, if you're having issues by 4:48 where you cannot connect to the database or some error is returned, ensure that you have MongoDB installed locally on your system.
@@prashilshah692 db.on('connected', () => console.log('Connected to database')); that should work, instead of using 'open'. It ensures that the connection is fully established
@@prashilshah692 you need to run the following command in your terminal to get mongoDB running after it is installed: brew services start mongodb-community@6.0 hope that helps!
if you have mongodb installed and it's still throwing out an error, try writing {family: 4} in the connect command (where your URL is). seems to be some incompatibility for mongodb using IPV4 and your system using localhost as IPV6
Around 23:55 if you append a character to the objectID, mongodb will return an error. When testing, be sure to *replace* a character in the ObjectID string, because mongodb has a fixed length I’d system. It took me a while to figure it out. If it works but doesn’t return a subscriber (because one doesn’t exist), you’ll get a null object back. That’s fine. But if the you genuinely made a bad request to the server, such as submitting an objectID that doesn’t conform to the mongoDB standard, mongodb will throw an error and push you into the catch(err) {...} block. Lol it took me a while to realize this. Thanks WDS, you’re making all the difference in my process of learning about how to build JSON apis in node ✨🙏🏽✨🎊🥳
I learn so much from this kid. He packs so much information in one video, moves fast but makes things totally clear. Fastest way to get information in your brain. Other videos with this much information are like two hours long. Great if you have the attention span of a gnat like I do.
If you're watching this in 2024 in Mongoose versions 6 and above, the remove method has been deprecated, and you should use the deleteOne method instead.
If you are getting an error when using res.{collection name}.remove() (around 25:10), use deleteOne() instead, this seems to be the more updated method and using remove() will not work for me. Good luck!
You are right on this one. Kyle probably forgot that mongodb is already installed on his computer and some people who follow this one does not have one installed yet on their computer.
This is by far the fastest “build a REST api” video I’ve seen with this much detail! In summer 2021, all I had to do was download the MongoDB community server, install it so it ran a network instance (instead of picking local instance and having to figure out a username and password and other settings), and then I was using Visual Studio Code and nom installing packages and I was off to the races. To everyone else taking this tutorial for the first time: don’t be afraid to pause to type your code as you follow along (I did - a LOT), and double-check your code for even tiny differences between your code and what you see in the video. The content creator moves VERY fast but explains in detail as he goes. Web Dev Simplified, you just earned yourself another sub! God bless you.
Even being pretty familiar with this content, I had to pause a couple times. The information was not unclear, just very concise. Well done. For those coming across similar errors to the video: make sure you didn't typo req instead of res. I wouldn't know, but I heard from a friend of a friend of a friend that it happens sometimes :)
I came from the concept of using relational databases. This tutorial explaining the use of MongoDB a non-relational database engine is gold and easy to understand. Of course, requires practice but the most important is to catch the idea. Thank you very much for this tutorial.
Amazing tutorial thank you, I'm discovering Express (and coding in general) and you helped me to understand really important concepts 👍 Also for those who wouldn't want to install MongoDB locally, this tutorial can totally be done with MongoDB Atlas, in your code, just use the connection string associated with your cluster instead of the localhost one !
One of the best tutorials I have seen. Though I have one problem. In some requests you assumed that because the user is providing you with the data to save, that every error is the user's fault but that isn't always true. When calling .save, the error could either be the client's fault or some error in the server if the db went down or any other server related thing that could have happened. Except for that issue, as I mentioned before, this is a great tutorial! Well done!!
Thus far, this has gotta be one of my favorite webdev tutorials anywhere. You made this seem so easy, and it seems much clearer to me now. Thanks for the great content!
It took me a few hours to complete this course, but it was worth it. Thank you for this introduction. I will definitely check out your other courses. Keep up the good work.
I just purchased your react course to thank you for your amazing hard work on this channel. every minute of your videos === to hours of content in online courses. please make a full-stack mern course I will be the first one who will purchase it.
For everyone stuck in an endless 'waiting'-loop while connecting at 11:17: Look through your code and make sure you copied every detail. I forgot '()' after 'express.json' so my code looked like this 'app.use(express.json)' instead of 'app.use(express.json())'. Took me nearly an hour to figure out what was wrong, since no error was thrown in the console. Another tip: Comment stuff out when something is not working, to pinpoint the location of the problem
If you are new to React and Mongo DB, make sure you install Mongo db on you pc before starting this tutorial otherwise you will get this error: (node:1164) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) { name: 'MongoNetworkError', [Symbol(mongoErrorContextSymbol)]: {} }]
Great tutorial! I was already familiar with a lot of the content but this definitely brings things together in a very clear way. One way I used this to learn is to actually follow along but use different conventions, for instance instead of subscribers etc, I made this a blog application with author, content, and postDate. I still used the model and routes, but used different names and changed the model etc. This way I was able to tell if I actually learned the material!
Thank you for making a video like this. RUclips has an abundance of slow-paced over-explained tutorials, but sometimes I already know most of the info I just need a fast video that goes through it all quickly to help me refresh and connect the dots.
Hey ! I just want to say wow. I love you so much that I created my first youtube account today just to support you. Go on like this ! I'm learning right now ES6, node.js and your videos are helping so much ! Thanks for these amazing contents.
I'm watching this after a long period of time of trying to build a REST API on my own. This clean and cohesive demonstration really helps clear up the big picture. Thanks for this!
After 10 tutorials I was always getting confused, and at last i found that video! This is a small diamond in the youtube web dev ocean, thank you man!!!
19:25 😂 I was waiting for this exact moment as soon as I first noticed the typo. Props to you for acknowledging and also fixing it on the spot. Some would have edited that part out.
I watched 3 videos in a row before this. While watching this I subscribed. You have a really nice way of showing the entire thing right from npm init to finish. That's great!
You're such a boss. As always super concise and clear. When searching for tutorials I now default to include "web dev simplified" as part of my search term. If you have a video on the topic, it's always my starting point.
The name which you have given to your channel is a perfect match with the contents that is in the channel. You really made it simple....! I was facing some serious problems with connection of MongoDB to the Backend server and REST APIs. But you resolved the problem in a single video. Thankyou very much sir
At 23:17, in the "catch", you should also add : if (subscriber == undefined) { return res.status(404).json({ message: "Cannot find subscriber" }) } cause if you (at 24:03) change one letter, subscriber is going to be equal to null, but if you add one letter you'll go to the catch directly because it'll not fit the model, and subscriber will be equal to undefined.
Ok ok this was legitimately great!!!! I'm a frontend guy and I had tried to use nodejs but I have never worked for a company that used it as a backend previous and man was this good. *clicks subscribe button*
for some reason i can't get the connected to database console message plus i am having an issue with nodemon it throws "[nodemon] app crashed - waiting for file changes before starting... " error i even copied your code and used it still the same problems if any faced these issues and solved them please help !
Quick, clear and simplified, excellent video! You are making me fall in love with back end too after front end. Thank you for everything Kyle. You're the best!
You explained everything very clearly and concisely, and I can finally say I get it. So many tutorials are borderline vanity projects where someone uses a whole host of unnecessary bullshit that will inevitably just confuse beginners. A+ and thank you. Subbed.
Epic man, was looking for this and hoping based on your last question this would surface. It has and you’ve made a new subscriber and follower. Thanks for all the awesome tutorials, really well done.
This should be in the notes of the video or this will not work - a massive oversight as many may think, as did I, that node will install mongo in an SQLite fashion - IT DOES NOT! Go to www.mongodb.com/try/download/community and select the version for your OS - you can install Compass (GUI for mongo) if you like as it will make no difference. If you have already started the project and hit this problem, suggestion is to restart the project after installing the database. Other than this, great stuff, thanks WDS :).
Hey Mohit. Good to see you learn and observe things. Have you created projects in JavaScript frameworks? Would you like to explore opportunities in web development?
I love your videos. Just found your content, so far it's great and useful. There's a lot of noise out there in the coding tutorial space and this channel cuts straight through it.
Fantastic tutorial. Tried following along while adapting this with TypeScript. Maybe you could do a tutorial on Node + Express + Mongoose + Typescript? Main challenge here is to have typed objects and have that play nicely with Mongoose schemas. Thanks!
Thank you for your tutorials! I have one feedback, I think that it would be great to mention on the start, if there's for example some databases that needs to be downloaded in the tutorial.
Hey, encountered this too, install mongoDB first, then let it run in the background the taskname i think is mongoDB.exe , It usually starts automatically, but i got mine turned off since i'm not using it often, i just re-run the task and it worked fine. Happy hacking dude!!!
anyone struggling/getting errors with the remove() at 25:05 use deleteOne() instead-- Update for Mongoose v5.5.3 - remove() is now deprecated. Use deleteOne(), deleteMany() or findOneAndDelete() instead.
For those users who are facing the error "TypeError: Cannot read properties of undefined" when creating a subscriber with the POST method, Add this line "app.use(express.json())" after you create the express app constant "const app = express()" Hope this helps someone :)
best teacher ever nice tutorials simple steps we love thank you so mutch please dont stope because perssone like you give us the chance to learn faster easier and the most importent thing free
I spent roughly 4.3 hours slowly coding along with you, referencing your other videos, other RUclipsrs, Googling things, trying other approaches, etc, and I think I finally have an okay understanding of APIs in general and REST specifically. Thank you! As a self-taught programmer, channels like yours are indispensable. You’re a gem, WDS, and I hope you know that! Onward!
That's impressive man, well done
ا
Hey can you recommend some more channels too ?
dude same. sometimes I spend days just to study a single video on this channel. I take a lot of notes. I learn very slowly but it's worth it
That's awesome!!! So would you mind sharing the link to the site you've built? Thanks
As an update, if you are having issues with the deletion (~25m mark), change remove() to deleteOne() - this is due to a change in the MongoDB wording
You Are The Lord! thank you
Was having issues with this. Thanks
thank you so much
Should have visit the comments.. took time before realizing the issue I encounter on deletion..
thanks! had me running around for a few mins
Just got my first programming job and I need these tutorials like I need water. Thank you
Ay that's a copy of my pfp
@@JohnDoe-ym2oy ayeeee!!!!
@@ThatGuyDownInThe ayyeeee!
how tf do you get a PROGRAMMING job without knowing programming
@@someclipsilike7908 I just worked at a startup and made a few bucks off that. Now I'm doing really really well though hehe.
This is pure quality. One of the cleanest tutorials I have seen
Great work man thanks a lot !
Thank you so much! I'm really glad you enjoyed the video.
Erratum: At Position 25:07 (the delete route), in mongoose the .remove() Method was renamed to .deleteOne(). Thanks Kyle for your amazing and up-to-date content!
Thank you i was getting errors with this
Thanks for the help !
the video is 6 years old, this comment is confusing me
I really appreciated this. I'm going through the Codecademy program on Express and was thoroughly lost. I needed to see the whole process all the way through so that I knew how it all tied together. Codecademy tends to present a piece at a time. I get that I need to learn each piece but it really helps to see how each of those pieces I'm learning fits into the bigger picture. I'll check out the rest of your channel for sure. Thank you.
This channel is heaven for Learning,
Thanks for your hard work :)
You're welcome!
Like another user pointed out, if you're having issues by 4:48 where you cannot connect to the database or some error is returned, ensure that you have MongoDB installed locally on your system.
I have MongoDB installed locally on my system but i still can't get "connected to database". Is there something else that i need to do?
@@prashilshah692 db.on('connected', () => console.log('Connected to database')); that should work, instead of using 'open'. It ensures that the connection is fully established
@@prashilshah692 you need to run the following command in your terminal to get mongoDB running after it is installed:
brew services start mongodb-community@6.0
hope that helps!
This helped resolved my issue- i kept getting "buffering timed out after 10000ms", until I downloaded mongoDB locally and ran it.
if you have mongodb installed and it's still throwing out an error, try writing {family: 4} in the connect command (where your URL is). seems to be some incompatibility for mongodb using IPV4 and your system using localhost as IPV6
I've been a software developer for 30+ years. This is the best channel I've ever seen. Subscribed for life.
Around 23:55 if you append a character to the objectID, mongodb will return an error. When testing, be sure to *replace* a character in the ObjectID string, because mongodb has a fixed length I’d system. It took me a while to figure it out. If it works but doesn’t return a subscriber (because one doesn’t exist), you’ll get a null object back. That’s fine. But if the you genuinely made a bad request to the server, such as submitting an objectID that doesn’t conform to the mongoDB standard, mongodb will throw an error and push you into the catch(err) {...} block. Lol it took me a while to realize this. Thanks WDS, you’re making all the difference in my process of learning about how to build JSON apis in node ✨🙏🏽✨🎊🥳
I copied the if block in the catch too, it worked
thank you!! helps a lot!
I learn so much from this kid. He packs so much information in one video, moves fast but makes things totally clear. Fastest way to get information in your brain. Other videos with this much information are like two hours long. Great if you have the attention span of a gnat like I do.
If you're watching this in 2024 in Mongoose versions 6 and above, the remove method has been deprecated, and you should use the deleteOne method instead.
If you are getting an error when using res.{collection name}.remove() (around 25:10), use deleteOne() instead, this seems to be the more updated method and using remove() will not work for me. Good luck!
Thank you so much, I'm actually been searching this for 2hrs
I was going insane, thank you!
Thx ;)
you saved my life!
Only thing that you have missed to add in this video is "setting up mongodb on local" or at-least a prerequisite list would help the beginners
Wdym?
How to install MongoDB ruclips.net/video/wcx3f0eUiAw/видео.html
The moment my code ran into problems, I instantly scroll down to the comments and I find your comment really useful! Thanks for asking!
You are right on this one. Kyle probably forgot that mongodb is already installed on his computer and some people who follow this one does not have one installed yet on their computer.
Lol Im having issues and guessing this is my problem too!
This is by far the fastest “build a REST api” video I’ve seen with this much detail! In summer 2021, all I had to do was download the MongoDB community server, install it so it ran a network instance (instead of picking local instance and having to figure out a username and password and other settings), and then I was using Visual Studio Code and nom installing packages and I was off to the races.
To everyone else taking this tutorial for the first time: don’t be afraid to pause to type your code as you follow along (I did - a LOT), and double-check your code for even tiny differences between your code and what you see in the video. The content creator moves VERY fast but explains in detail as he goes.
Web Dev Simplified, you just earned yourself another sub! God bless you.
Even being pretty familiar with this content, I had to pause a couple times. The information was not unclear, just very concise. Well done. For those coming across similar errors to the video: make sure you didn't typo req instead of res. I wouldn't know, but I heard from a friend of a friend of a friend that it happens sometimes :)
you have a great flow when it comes to teaching. also your voice is very soothing and the setup is clean. keep sharing such amazing stuff. subscribed.
I cannot believe I'm getting this for free - this is outstanding content!
thx from russian junior developer, you're amazing ;)
i saw this channel and immediately subscribed, looking forward to new videos :)
Thanks. I am working on two more videos which are both fun projects.
I came from the concept of using relational databases. This tutorial explaining the use of MongoDB a non-relational database engine is gold and easy to understand. Of course, requires practice but the most important is to catch the idea. Thank you very much for this tutorial.
For people in 2021 using mongoose:
Use {useNewUrlParser:true,useUnifiedTopology: true }
instead of just {useNewUrlParser:true }
Thanks bro!
amazing! thanks exactly what i was looking for
the admin should be adding it
Amazing tutorial thank you, I'm discovering Express (and coding in general) and you helped me to understand really important concepts 👍 Also for those who wouldn't want to install MongoDB locally, this tutorial can totally be done with MongoDB Atlas, in your code, just use the connection string associated with your cluster instead of the localhost one !
thank youuu so much
One of the best tutorials I have seen.
Though I have one problem. In some requests you assumed that because the user is providing you with the data to save, that every error is the user's fault but that isn't always true. When calling .save, the error could either be the client's fault or some error in the server if the db went down or any other server related thing that could have happened.
Except for that issue, as I mentioned before, this is a great tutorial! Well done!!
It is the 24th of March, 2022 and this is still the best "APIs with NodeJS and Express" video I could find on yt.
I watch your videos like people watch action movies... impossible to sleep...everything is lively fast and clean and clear...great teacher
Thus far, this has gotta be one of my favorite webdev tutorials anywhere. You made this seem so easy, and it seems much clearer to me now. Thanks for the great content!
It took me a few hours to complete this course, but it was worth it. Thank you for this introduction. I will definitely check out your other courses. Keep up the good work.
I just purchased your react course to thank you for your amazing hard work on this channel. every minute of your videos === to hours of content in online courses. please make a full-stack mern course I will be the first one who will purchase it.
30 minutes of content, no talking, great work!
There is talking
For everyone stuck in an endless 'waiting'-loop while connecting at 11:17: Look through your code and make sure you copied every detail. I forgot '()' after 'express.json' so my code looked like this 'app.use(express.json)' instead of 'app.use(express.json())'. Took me nearly an hour to figure out what was wrong, since no error was thrown in the console. Another tip: Comment stuff out when something is not working, to pinpoint the location of the problem
thanks! was the same mistake
As per usual I understand much more easily and quickly with your videos than with any explanation from my tutors or peers. Thank you so much!
am I the only one experienceing res.subsciber.remove is not a function?
This is actually just the best RUclips channel. Please don’t ever stop!
Thanks! I'm not planning on stopping. I enjoy it way too much.
Absolutely the Best. He will hit a million subscribers very soon.
If you are new to React and Mongo DB, make sure you install Mongo db on you pc before starting this tutorial otherwise you will get this error:
(node:1164) UnhandledPromiseRejectionWarning: MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
name: 'MongoNetworkError',
[Symbol(mongoErrorContextSymbol)]: {}
}]
appreciate you
Whenever I search for a concept on RUclips and see your videos in the result, I cannot be happier! Thanks for the amazing tutorials!
Great tutorial! I was already familiar with a lot of the content but this definitely brings things together in a very clear way. One way I used this to learn is to actually follow along but use different conventions, for instance instead of subscribers etc, I made this a blog application with author, content, and postDate. I still used the model and routes, but used different names and changed the model etc. This way I was able to tell if I actually learned the material!
This is one of the best explanation and great skills with proper examples.
3 years later still holds up. You're a king.
Thank you for making a video like this. RUclips has an abundance of slow-paced over-explained tutorials, but sometimes I already know most of the info I just need a fast video that goes through it all quickly to help me refresh and connect the dots.
Hey !
I just want to say wow.
I love you so much that I created my first youtube account today just to support you.
Go on like this !
I'm learning right now ES6, node.js and your videos are helping so much !
Thanks for these amazing contents.
That is amazing. I wish you the best of luck on your learning.
thanks. I wrote all the code in 1 hour and this was one of the most interesting and useful learning videos I have ever seen on the internet.
I'm watching this after a long period of time of trying to build a REST API on my own. This clean and cohesive demonstration really helps clear up the big picture. Thanks for this!
This is the cleanest, straight-to-the-point titorial I've seen on building REST APIs.
Thank you!
After 10 tutorials I was always getting confused, and at last i found that video! This is a small diamond in the youtube web dev ocean, thank you man!!!
Your tutorials are the best.
Please consider doing such tutorials intended for other RUclipsrs that make tutorials on how to properly make tutorials.
19:25 😂 I was waiting for this exact moment as soon as I first noticed the typo. Props to you for acknowledging and also fixing it on the spot. Some would have edited that part out.
I watched 3 videos in a row before this. While watching this I subscribed. You have a really nice way of showing the entire thing right from npm init to finish. That's great!
4:31 - 'this will only one runce' 💪
Haha I thought I heard it wrong and had to go back.
25:06 : For deleting , better use deleteOne() instead of remove()
thankyou, i kept on getting an response error saying "message": "res.subscriber.remove is not a function"
thank you buddy
@@caiqueribeiro3637 I'm getting same
I am on Linux and I am using Insomnia for REST testing. It is very minimalistic and it works great, I love it.
You're such a boss. As always super concise and clear. When searching for tutorials I now default to include "web dev simplified" as part of my search term. If you have a video on the topic, it's always my starting point.
Bro... your web videos have taught me web dev better than any other resource on the internet. you are a god.
I love these fast paced tutorials. If I have a question, I can just look it up and hit pause. Thanks again WDS
The name which you have given to your channel is a perfect match with the contents that is in the channel. You really made it simple....! I was facing some serious problems with connection of MongoDB to the Backend server and REST APIs. But you resolved the problem in a single video. Thankyou very much sir
At 23:17, in the "catch", you should also add :
if (subscriber == undefined) {
return res.status(404).json({ message: "Cannot find subscriber" })
}
cause if you (at 24:03) change one letter, subscriber is going to be equal to null, but if you add one letter you'll go to the catch directly because it'll not fit the model, and subscriber will be equal to undefined.
Thanks for the info, I had a doubt regarding this !!
Ok ok this was legitimately great!!!! I'm a frontend guy and I had tried to use nodejs but I have never worked for a company that used it as a backend previous and man was this good. *clicks subscribe button*
for some reason i can't get the connected to database console message plus i am having an issue with nodemon it throws "[nodemon] app crashed - waiting for file changes before starting... " error i even copied your code and used it still the same problems if any faced these issues and solved them please help !
Same
Same. When does mongoDB get installed?
Quick, clear and simplified, excellent video! You are making me fall in love with back end too after front end. Thank you for everything Kyle. You're the best!
goddamn this video has more information than my entire bachelor's degree could give me
Greetings from a cs freshman. 100% pure quality content, thank you so much..
최고의 튜토리얼 영상
The best tutorial I've ever seen. Compact and great quality. Thank you so much!
You explained everything very clearly and concisely, and I can finally say I get it. So many tutorials are borderline vanity projects where someone uses a whole host of unnecessary bullshit that will inevitably just confuse beginners.
A+ and thank you. Subbed.
Epic man, was looking for this and hoping based on your last question this would surface. It has and you’ve made a new subscriber and follower. Thanks for all the awesome tutorials, really well done.
Thanks! I really enjoyed making this tutorial and I think it came out really well.
This tutorial is the best and cleanest I have ever seen. Thank you for the good content!
Beautifully succinct and clear tutorial; fluently delivered. Thank you, Kyle.
{2021-06-07}, {2022-08-08}, {2022-11-02}, {2023-02-07}
This should be in the notes of the video or this will not work - a massive oversight as many may think, as did I, that node will install mongo in an SQLite fashion - IT DOES NOT! Go to www.mongodb.com/try/download/community and select the version for your OS - you can install Compass (GUI for mongo) if you like as it will make no difference. If you have already started the project and hit this problem, suggestion is to restart the project after installing the database. Other than this, great stuff, thanks WDS :).
This is perfect, I just wish you mentionned that MongoDB need to be installed before starting the tutorial !
That's kinda of given.
That's a good quality tutorial... Learnt creating rest API in 30mins i mean 2 hours..... for me...
Attention > those who done know about mongodb at the starting of this video for them you have to install mongodb client for this
man, i've just started to learning these things and you are amazing and i have to watch this video like a hundred times and practice a lot
You have a great talent of teaching. You are by far the best javascript youtuber
Fun fact: Instead of spamming enter when running "npm init", you can run "npm init -y" instead to load all the default values.
Hey Mohit. Good to see you learn and observe things. Have you created projects in JavaScript frameworks? Would you like to explore opportunities in web development?
this is the one of the best and easiest way of restful api to built thanks a lot love from india
This was fantastic! Love the explanations for each thing you do. Well done. Saves me from having to search for every single thing. Subscribed.
I'm really glad you enjoyed it!
I love your videos. Just found your content, so far it's great and useful. There's a lot of noise out there in the coding tutorial space and this channel cuts straight through it.
Fantastic tutorial. Tried following along while adapting this with TypeScript. Maybe you could do a tutorial on Node + Express + Mongoose + Typescript? Main challenge here is to have typed objects and have that play nicely with Mongoose schemas. Thanks!
you never pause and i love it
Thank you for your tutorials! I have one feedback, I think that it would be great to mention on the start, if there's for example some databases that needs to be downloaded in the tutorial.
I'm getting this error
connect ECONNREFUSED 127.0.0.1:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1126:14) {
name: 'MongoNetworkError',
errorLabels: [ 'TransientTransactionError' ],
[Symbol(mongoErrorContextSymbol)]: {}
Hey, encountered this too, install mongoDB first, then let it run in the background the taskname i think is mongoDB.exe , It usually starts automatically, but i got mine turned off since i'm not using it often, i just re-run the task and it worked fine. Happy hacking dude!!!
Great video. Same day start and finish, a new record for me =) I even changed things up and started a db for my custom hotwheels collection.
I cant emphasize it more than this but THANK YOU BRO! Your explainations are so clear. You're doing a great job man! Keep it up.
Small video but an awesome instruction. Simple and easy explanation. Thanks, hero.
anyone struggling/getting errors with the remove() at 25:05 use deleteOne() instead-- Update for Mongoose v5.5.3 - remove() is now deprecated. Use deleteOne(), deleteMany() or findOneAndDelete() instead.
Awesome way of doing a tutorial. It is great that you explain as you code. Keep up the great work!
You're freaking amazing man. Thank you from the bottom of my heart
You're welcome ❤
BEST REST API TUTORIAL I'VE EVER SEEN. THANKS!
Wow easily the best rest tutorial on the world wide web. Thank you sir.
Amazingly clear content with great delivery! Enjoying this video very much :)
Thanks
Real challenge here is saying and spelling subscriber, subscribedtoChannel!
I saw the subscriberToChannel spelling mistake from when you made it, I was like, that's gonna come back at you 😂😂
The real learning is simple like the name of this channel,congratulations!
For those users who are facing the error "TypeError: Cannot read properties of undefined" when creating a subscriber with the POST method,
Add this line "app.use(express.json())"
after you create the express app constant "const app = express()"
Hope this helps someone :)
I sooooo followed through with this tutorial, Very Helpful. Subscribing!!!!!
THANK YOU! It was so helpful and fluent. I wish this was the first video tutorial I consulted.
this was great, thanks
Broooo Excelent Tutorial! , the way you explain its detailed and very understandable, Keep Going , Amazing work!!
Thanks!
great explanation...
The best REST API course on yt .Thanks a lot!!!
respect++;
best teacher ever nice tutorials simple steps we love thank you so mutch please dont stope because perssone like you give us the chance to learn faster easier and the most importent thing free
absolutely no fat in any of your videos. i love it, great work.
pretty straight forward. very nice and quick yet easy to understand tutorial! Thanks!
Best Dev tutorial i've gone through in a while, bless!