Build A REST API With Node.js, Express, & MongoDB - Quick

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 737

  • @ozzyfromspace
    @ozzyfromspace 3 года назад +436

    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!

    • @adamkhan1613
      @adamkhan1613 2 года назад +8

      That's impressive man, well done

    • @m.mohsinmultani3082
      @m.mohsinmultani3082 2 года назад

      ا

    • @vidhishiste8751
      @vidhishiste8751 Год назад

      Hey can you recommend some more channels too ?

    • @bruhmoment3731
      @bruhmoment3731 Год назад +1

      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

    • @colindante5164
      @colindante5164 Год назад +1

      That's awesome!!! So would you mind sharing the link to the site you've built? Thanks

  • @bubbyroller
    @bubbyroller Год назад +93

    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

    • @TehHagen
      @TehHagen Год назад +3

      You Are The Lord! thank you

    • @johndavid9430
      @johndavid9430 Год назад +1

      Was having issues with this. Thanks

    • @jeremycolfer7118
      @jeremycolfer7118 Год назад +1

      thank you so much

    • @jcnavs
      @jcnavs 11 месяцев назад +2

      Should have visit the comments.. took time before realizing the issue I encounter on deletion..

    • @shaolin6150
      @shaolin6150 10 месяцев назад

      thanks! had me running around for a few mins

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 года назад +120

    Just got my first programming job and I need these tutorials like I need water. Thank you

    • @JohnDoe-ym2oy
      @JohnDoe-ym2oy 3 года назад +6

      Ay that's a copy of my pfp

    • @ThatGuyDownInThe
      @ThatGuyDownInThe 3 года назад +2

      @@JohnDoe-ym2oy ayeeee!!!!

    • @JohnDoe-ym2oy
      @JohnDoe-ym2oy 3 года назад +1

      @@ThatGuyDownInThe ayyeeee!

    • @someclipsilike7908
      @someclipsilike7908 3 года назад +9

      how tf do you get a PROGRAMMING job without knowing programming

    • @ThatGuyDownInThe
      @ThatGuyDownInThe 3 года назад +2

      @@someclipsilike7908 I just worked at a startup and made a few bucks off that. Now I'm doing really really well though hehe.

  • @charbelabouyounes6683
    @charbelabouyounes6683 5 лет назад +258

    This is pure quality. One of the cleanest tutorials I have seen
    Great work man thanks a lot !

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +20

      Thank you so much! I'm really glad you enjoyed the video.

  • @schurlixx
    @schurlixx Год назад +16

    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!

    • @muhammadmoiz1521
      @muhammadmoiz1521 Год назад

      Thank you i was getting errors with this

    • @mohd.maasir8198
      @mohd.maasir8198 Год назад

      Thanks for the help !

    • @al-ft1ng
      @al-ft1ng 6 месяцев назад

      the video is 6 years old, this comment is confusing me

  • @TechInterpreter
    @TechInterpreter 4 года назад +31

    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.

  • @SACHIN-gd6zy
    @SACHIN-gd6zy 5 лет назад +110

    This channel is heaven for Learning,
    Thanks for your hard work :)

  • @biafranrepublican4389
    @biafranrepublican4389 2 года назад +37

    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
      @prashilshah692 Год назад +1

      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?

    • @---yj7op
      @---yj7op Год назад

      @@prashilshah692 db.on('connected', () => console.log('Connected to database')); that should work, instead of using 'open'. It ensures that the connection is fully established

    • @dovidlevine
      @dovidlevine Год назад

      @@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!

    • @araeneangela
      @araeneangela Год назад

      This helped resolved my issue- i kept getting "buffering timed out after 10000ms", until I downloaded mongoDB locally and ran it.

    • @leviathotep1034
      @leviathotep1034 Год назад +3

      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

  • @secretsquirrel5566
    @secretsquirrel5566 4 года назад +3

    I've been a software developer for 30+ years. This is the best channel I've ever seen. Subscribed for life.

  • @ozzyfromspace
    @ozzyfromspace 3 года назад +36

    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 ✨🙏🏽✨🎊🥳

    • @pushkarjog671
      @pushkarjog671 2 года назад

      I copied the if block in the catch too, it worked

    • @sinxenon3181
      @sinxenon3181 2 года назад +2

      thank you!! helps a lot!

  • @xpkareem
    @xpkareem 2 года назад +2

    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.

  • @georgekalokyris
    @georgekalokyris 7 месяцев назад +5

    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.

  • @user-me7vk9be8h
    @user-me7vk9be8h Год назад +19

    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!

  • @makersbee
    @makersbee 3 года назад +94

    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

    • @danzzcoding3481
      @danzzcoding3481 3 года назад +3

      Wdym?

    • @santoshkumar-mh1ke
      @santoshkumar-mh1ke 3 года назад +11

      How to install MongoDB ruclips.net/video/wcx3f0eUiAw/видео.html

    • @bushigi5913
      @bushigi5913 3 года назад +17

      The moment my code ran into problems, I instantly scroll down to the comments and I find your comment really useful! Thanks for asking!

    • @cebuanoninoy
      @cebuanoninoy 2 года назад +7

      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.

    • @adamaslan1
      @adamaslan1 2 года назад +3

      Lol Im having issues and guessing this is my problem too!

  • @ryuhaneda
    @ryuhaneda 3 года назад +1

    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.

  • @cloudeater9571
    @cloudeater9571 4 года назад +7

    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 :)

  • @sanketss84
    @sanketss84 4 года назад +28

    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.

  • @nativeKar
    @nativeKar 3 года назад +7

    I cannot believe I'm getting this for free - this is outstanding content!

  • @sergeyzakharov5124
    @sergeyzakharov5124 5 лет назад +19

    thx from russian junior developer, you're amazing ;)
    i saw this channel and immediately subscribed, looking forward to new videos :)

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +3

      Thanks. I am working on two more videos which are both fun projects.

  • @alfredogiwisch2871
    @alfredogiwisch2871 3 года назад +5

    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.

  • @jimhalpert9803
    @jimhalpert9803 3 года назад +7

    For people in 2021 using mongoose:
    Use {useNewUrlParser:true,useUnifiedTopology: true }
    instead of just {useNewUrlParser:true }

    • @blaketheshepherd
      @blaketheshepherd 3 года назад

      Thanks bro!

    • @user-nt2dz5xu8c
      @user-nt2dz5xu8c 2 года назад

      amazing! thanks exactly what i was looking for
      the admin should be adding it

  • @0RevolutionV0
    @0RevolutionV0 Год назад +7

    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 !

    • @ruffy9937
      @ruffy9937 11 месяцев назад

      thank youuu so much

  • @dolahav3007
    @dolahav3007 4 года назад +5

    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!!

  • @babatundeadenowo7568
    @babatundeadenowo7568 2 года назад

    It is the 24th of March, 2022 and this is still the best "APIs with NodeJS and Express" video I could find on yt.

  • @viallymboma9874
    @viallymboma9874 3 года назад

    I watch your videos like people watch action movies... impossible to sleep...everything is lively fast and clean and clear...great teacher

  • @fullstackburger
    @fullstackburger 4 года назад +14

    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!

  • @Arnold-vd7id
    @Arnold-vd7id 3 месяца назад

    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.

  • @ilyasnaghiyev7038
    @ilyasnaghiyev7038 3 года назад +1

    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.

  • @lefisheauchocolat1975
    @lefisheauchocolat1975 Месяц назад

    30 minutes of content, no talking, great work!

    • @coel312
      @coel312 Месяц назад

      There is talking

  • @paulakm626
    @paulakm626 4 года назад +17

    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

  • @fargoflagrant7796
    @fargoflagrant7796 Год назад +3

    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!

    • @andikasatriop
      @andikasatriop Год назад

      am I the only one experienceing res.subsciber.remove is not a function?

  • @joebarrett29
    @joebarrett29 5 лет назад +2

    This is actually just the best RUclips channel. Please don’t ever stop!

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      Thanks! I'm not planning on stopping. I enjoy it way too much.

    • @pastorfred2543
      @pastorfred2543 5 лет назад

      Absolutely the Best. He will hit a million subscribers very soon.

  • @hexlatino3421
    @hexlatino3421 4 года назад +15

    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)]: {}
    }]

  • @czhablog9559
    @czhablog9559 2 года назад

    Whenever I search for a concept on RUclips and see your videos in the result, I cannot be happier! Thanks for the amazing tutorials!

  • @robbyandrews223
    @robbyandrews223 3 года назад +8

    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!

  • @RakeshBitling
    @RakeshBitling 4 года назад +11

    This is one of the best explanation and great skills with proper examples.

  • @fernwood
    @fernwood Год назад

    3 years later still holds up. You're a king.

  • @WhatIsThis-zq4hk
    @WhatIsThis-zq4hk 2 года назад

    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.

  • @martinkevin5764
    @martinkevin5764 5 лет назад +2

    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.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      That is amazing. I wish you the best of luck on your learning.

  • @mahdarfshi
    @mahdarfshi 4 года назад +1

    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.

  • @joshuacushing2858
    @joshuacushing2858 2 года назад

    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!

  • @Zik_Kezi
    @Zik_Kezi Год назад

    This is the cleanest, straight-to-the-point titorial I've seen on building REST APIs.
    Thank you!

  • @ArisAris-fs1ip
    @ArisAris-fs1ip 2 года назад

    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!!!

  • @derekjordan8642
    @derekjordan8642 Год назад

    Your tutorials are the best.
    Please consider doing such tutorials intended for other RUclipsrs that make tutorials on how to properly make tutorials.

  • @khankbar
    @khankbar Год назад

    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.

  • @aman4434
    @aman4434 3 года назад +1

    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!

  • @karlisvigulis6386
    @karlisvigulis6386 3 года назад +5

    4:31 - 'this will only one runce' 💪

    • @thejasiliemetha
      @thejasiliemetha 3 года назад

      Haha I thought I heard it wrong and had to go back.

  • @bbosc674
    @bbosc674 Год назад +4

    25:06 : For deleting , better use deleteOne() instead of remove()

    • @caiqueribeiro3637
      @caiqueribeiro3637 Год назад +1

      thankyou, i kept on getting an response error saying "message": "res.subscriber.remove is not a function"

    • @error9414
      @error9414 Год назад +1

      thank you buddy

    • @error9414
      @error9414 Год назад

      @@caiqueribeiro3637 I'm getting same

  • @kresimircosic3753
    @kresimircosic3753 4 года назад

    I am on Linux and I am using Insomnia for REST testing. It is very minimalistic and it works great, I love it.

  • @timboslice7586
    @timboslice7586 3 года назад +1

    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.

  • @fisipunhas1684
    @fisipunhas1684 4 года назад

    Bro... your web videos have taught me web dev better than any other resource on the internet. you are a god.

  • @calarcher4869
    @calarcher4869 2 года назад

    I love these fast paced tutorials. If I have a question, I can just look it up and hit pause. Thanks again WDS

  • @sanjitkumarram2272
    @sanjitkumarram2272 2 года назад

    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

  • @_Greenflag_
    @_Greenflag_ 2 года назад +1

    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.

  • @SwiftySanders
    @SwiftySanders 3 года назад

    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*

  • @moaztobok1473
    @moaztobok1473 Год назад +3

    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 !

    • @Fr33manTV
      @Fr33manTV Год назад +1

      Same

    • @wiktech6967
      @wiktech6967 8 месяцев назад

      Same. When does mongoDB get installed?

  • @nsharma4981
    @nsharma4981 4 года назад +1

    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!

  • @AJD...
    @AJD... 3 года назад +6

    goddamn this video has more information than my entire bachelor's degree could give me

  • @yasin_osman
    @yasin_osman 4 года назад

    Greetings from a cs freshman. 100% pure quality content, thank you so much..

  • @user-ze5nh8vg2e
    @user-ze5nh8vg2e 3 года назад +1

    최고의 튜토리얼 영상
    The best tutorial I've ever seen. Compact and great quality. Thank you so much!

  • @dotanon
    @dotanon Год назад

    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.

  • @jazzmaster89
    @jazzmaster89 5 лет назад +1

    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.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      Thanks! I really enjoyed making this tutorial and I think it came out really well.

  • @looper6120
    @looper6120 4 года назад +1

    This tutorial is the best and cleanest I have ever seen. Thank you for the good content!

  • @Pareshbpatel
    @Pareshbpatel 3 года назад +1

    Beautifully succinct and clear tutorial; fluently delivered. Thank you, Kyle.
    {2021-06-07}, {2022-08-08}, {2022-11-02}, {2023-02-07}

  • @robhills1
    @robhills1 3 года назад +3

    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 :).

  • @oz14
    @oz14 4 года назад +4

    This is perfect, I just wish you mentionned that MongoDB need to be installed before starting the tutorial !

    • @manit77
      @manit77 4 года назад +2

      That's kinda of given.

  • @Saisk73
    @Saisk73 4 года назад +1

    That's a good quality tutorial... Learnt creating rest API in 30mins i mean 2 hours..... for me...

  • @peetkumarghosh5619
    @peetkumarghosh5619 3 года назад +1

    Attention > those who done know about mongodb at the starting of this video for them you have to install mongodb client for this

  • @aliciplak2861
    @aliciplak2861 3 года назад

    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

  • @raphaelmachado7197
    @raphaelmachado7197 2 года назад

    You have a great talent of teaching. You are by far the best javascript youtuber

  • @mohitsrinivasan5984
    @mohitsrinivasan5984 2 года назад +3

    Fun fact: Instead of spamming enter when running "npm init", you can run "npm init -y" instead to load all the default values.

    • @Hafsa0526
      @Hafsa0526 2 года назад

      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?

  • @ashishsaini6500
    @ashishsaini6500 3 года назад

    this is the one of the best and easiest way of restful api to built thanks a lot love from india

  • @busyrand
    @busyrand 5 лет назад +1

    This was fantastic! Love the explanations for each thing you do. Well done. Saves me from having to search for every single thing. Subscribed.

  • @micahburnside2281
    @micahburnside2281 6 месяцев назад

    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.

  • @KhaPiano
    @KhaPiano 4 года назад +3

    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!

  • @Drdoggo24
    @Drdoggo24 5 лет назад +1

    you never pause and i love it

  • @snamna
    @snamna Год назад

    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.

  • @lovelymusic3659
    @lovelymusic3659 4 года назад

    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)]: {}

    • @romanmunar
      @romanmunar 4 года назад

      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!!!

  • @fathersondiecast6521
    @fathersondiecast6521 3 года назад +1

    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.

  • @YashPandey_the_emperor
    @YashPandey_the_emperor 4 года назад

    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.

  • @muradhossain1473
    @muradhossain1473 3 года назад +1

    Small video but an awesome instruction. Simple and easy explanation. Thanks, hero.

  • @DJvonP
    @DJvonP Год назад

    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.

  • @justintzojoshua
    @justintzojoshua 3 года назад +1

    Awesome way of doing a tutorial. It is great that you explain as you code. Keep up the great work!

  • @AbelsColdSweat
    @AbelsColdSweat 5 лет назад +4

    You're freaking amazing man. Thank you from the bottom of my heart

  • @oykuercin7987
    @oykuercin7987 3 года назад

    BEST REST API TUTORIAL I'VE EVER SEEN. THANKS!

  • @edwinngugi1315
    @edwinngugi1315 3 года назад

    Wow easily the best rest tutorial on the world wide web. Thank you sir.

  • @rongliao9255
    @rongliao9255 5 лет назад +1

    Amazingly clear content with great delivery! Enjoying this video very much :)

  • @NashIvan19
    @NashIvan19 22 дня назад

    Real challenge here is saying and spelling subscriber, subscribedtoChannel!

  • @eternallyMarsh
    @eternallyMarsh 3 месяца назад

    I saw the subscriberToChannel spelling mistake from when you made it, I was like, that's gonna come back at you 😂😂

  • @marcelloiorio507
    @marcelloiorio507 4 года назад

    The real learning is simple like the name of this channel,congratulations!

  • @gwynbleidd6080
    @gwynbleidd6080 7 месяцев назад +1

    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 :)

  • @xtxkx9170
    @xtxkx9170 4 года назад +3

    I sooooo followed through with this tutorial, Very Helpful. Subscribing!!!!!

  • @smh3839
    @smh3839 4 года назад

    THANK YOU! It was so helpful and fluent. I wish this was the first video tutorial I consulted.

  • @shaolin6150
    @shaolin6150 10 месяцев назад +1

    this was great, thanks

  • @felixlopez2300
    @felixlopez2300 5 лет назад +2

    Broooo Excelent Tutorial! , the way you explain its detailed and very understandable, Keep Going , Amazing work!!

  • @mitejmadan8672
    @mitejmadan8672 3 года назад

    The best REST API course on yt .Thanks a lot!!!
    respect++;

  • @abnbbrbo5656
    @abnbbrbo5656 3 года назад

    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

  • @jojobobo1815
    @jojobobo1815 3 года назад

    absolutely no fat in any of your videos. i love it, great work.

  • @jearbecerro1167
    @jearbecerro1167 3 года назад

    pretty straight forward. very nice and quick yet easy to understand tutorial! Thanks!

  • @DipoAreoye
    @DipoAreoye 4 года назад

    Best Dev tutorial i've gone through in a while, bless!