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

preview_player
Показать описание


📚 Materials/References:

🧠 Concepts Covered:

- Setting up an Express server
- Configuring MongoDB with Mongoose
- Creating a model in Mongoose
- How to create RESTful API routes
- How to handle API errors and validation
- How to properly use and return HTTP status codes

🌎 Find Me Here:

#REST #API #Nodejs
Рекомендации по теме
Комментарии
Автор

I spent roughly 4.3 hours slowly coding along with you, referencing your other videos, other YouTubers, 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!

ozzyfromspace
Автор

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

bubbyroller
Автор

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.

TechInterpreter
Автор

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

ThatGuyDownInThe
Автор

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!

fullstackburger
Автор

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.

ryuhaneda
Автор

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!

schurlixx
Автор

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.

sanketss
Автор

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!

robbyandrews
Автор

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!

nsharma
Автор

Thank you for making a video like this. Youtube 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.

WhatIsThis-zqhk
Автор

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

charbelabouyounes
Автор

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.

alfredogiwisch
Автор

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!

joshuacushing
Автор

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

SACHIN-gdzy
Автор

30 minutes of content, no talking, great work!

lefisheauchocolat
Автор

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.

timboslice
Автор

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.

biafranrepublican
Автор

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!

aman
Автор

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

RakeshBitling