Node.js Crash Course Tutorial #10 - Get, Post & Delete Requests

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

0:00 -- request types
3:56 -- post requests
11:55 -- route parameters
20:12 -- delete requests

🐱‍👤🐱‍👤 JOIN THE GANG -
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Course Files:

🐱‍💻 🐱‍💻 Other Related Free Courses:

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

I swear this tutorial is far better than the premium (paid) ones that we see on Udemy or other e-learning platform.
You are so much knowledgeable about the topics that i'm just stunned .
Big respect for you and thanks for changing the lives of thousands of software engineers by making them understand actually the core concepts.

mouhamethfadalmarabyaidara
Автор

Make sure you place the blogs/create GET route ABOVE the /blogs/:id GET route in the code. Otherwise express will fire the /blogs/:id handler for requests to /blogs/create.

NetNinja
Автор

This is by far the best crash course ever, feels almost like the best premium course on nodejs. The style of teaching rocks!

layeekromah
Автор

i feel butterflies in my stomach . the excitement of understanding the concept and yearning to apply it to a project is too much . Thanks ninja

SALMANKHAN-zzgi
Автор

This series on NodeJS is better than any other series/course on YoutTube or Udemy

Shakeel
Автор

Nearing the end of the course now and have build the same project on my own computer along with you. Although I also watched the Mongodb course on Compass and used used compass instead of the cloud. I have to say your knowledge of the subject and your amazing ability to teach the subject line by line as you go absolutely blows my mind, I honest don't know how you do it. I don't think I know how to do ANYTHING as well as you do this. Thank you most sincerely.

bigshuff
Автор

Can you make a tutorial on how to connect a react component with node backend?

stana_andrei
Автор

I just LOVE that moment when I need to pause the video to say: it's amazing!" <3 Good work once again! :)

mikoajpaszkowski
Автор

best node course online from far. Amazing work!!

ericpodhorecki
Автор

Brilliant tutorial. I've learnt quite a lot from watching this. I would highly recommend all to watch this excellent informative and simple node.js crash course 😊🤝

You are a brilliant and exceptionally great teacher. Being able to convey your knowledge by explaining patiently.

kopilkaiser
Автор

Please make a react/node/SQL tutorial. I would love to see a complete fullstack project (ecommerce site perhaps). I would be more than happy to pay for a premium course.

Thank you for the great content!

LoveisHell
Автор

Loved the content. Gave me great learning over the weekend. I loved how he builds the pieces early on and how they all come together at the end to form an application. Not only gives you the details on how it can be done, but also why things are done the way they are done. Loved it. Huge thanks.

pwrs
Автор

So much content in a single video! All the basics of CR(U)D, organised and explained very well! Many Thanks indeed!

matthewuk
Автор

Was trying to do MERN stuff before really getting my node, express and mongodb core skills down. Realized I was just copying tutorials and not learning.

I am gonna watch this whole series and learn a ton. Just from laying here watching this, I understood everything from past knowledge or just good JavaScript skills and it’s exciting because I’m really trying to learn fullstack development while also learning it in school academically.

Thank you for all your videos brother !

tannerbarcelos
Автор

Great work as always Shaun, just completed your Udemy modern Javascript course a few days ago and then started this series, it's all coming together now. Would really like to see working with Postgresql sometime, I'm sure it's similar concepts to this though.

malcolmcolindixon
Автор

// If you get error around 19:11, which looks like this:

CastError: Cast to ObjectId failed for value "style.css" (type string) at path "_id" for model "Blog"

// Then simply remove <%- %> from details.ejs


// I don't understand why, but with only this:


const id = req.params.id;
console.log(id);

// id looks fine, but when you add this below:

Blog.findById(id)
.then((result) => {
res.render("details", { title: "Blog Details", blog: result });
})
.catch((err) => {
console.log(err);
});

// another id shows up in console:
6308f2bbcb373829482ab874
style.css

// Is anyone able to explain this?

stanisawjarocki
Автор

Shaun you are a legend. I am in the middle of an intensive assessment for a position currently and everytime I run into a problem, be it in Vue, node js or SQL you seomhow seem to have the answer at some corner or the internet. Keep up the amazing work!

davefinn
Автор

i like how structured this is, how every topic from #1 to #last builds so well onto each other.

kithenry
Автор

If anyone getting undefined value in req.body for the post request, add the following before any route:
true}));
app.use(express.json());

iamabhirupdatta
Автор

Even though these videos are long, there is not one second of fluff. Beautiful.

theone