Тёмный

MERN Stack Tutorial #3 - Express Router & API Routes 

Net Ninja
Подписаться 1,6 млн
Просмотров 122 тыс.
50% 1

Hey gang, in this MERN tutorial we'll create all of the workout routes we need for the api and test them out using POSTMAN.
⭐⭐ Get the full course now (without ads) on the Net Ninja Pro site:
netninja.dev/p...
⭐⭐ Get access to all free & PREMIUM courses on Net Ninja Pro:
net-ninja-pro....
🥷 Course Files (GitHub):
github.com/iam...
💻 Node.js & Express Crash Course:
On Net Ninja Pro - netninja.dev/p...
On RU-vid - • Node.js Crash Course T...
💻 MongoDB Crash Course:
On Net Ninja Pro - netninja.dev/p...
On RU-vid - • Complete MongoDB Tutor...
💻 React Full Courses:
On Net Ninja Pro - netninja.dev/p...
On Udemy - www.thenetninj...
On RU-vid - • Full React Tutorial #1...
🔥🔥🔥 Other resources:
React Context & Hooks tutorial (on RU-vid) - • React Context & Hooks ...
VS Code - code.visualstu...
MongoDB Atlas -www.mongodb.co...
POSTMAN - www.postman.co...

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 62   
@mohitkaren805
@mohitkaren805 Год назад
Man, so many people say a lot of adavcned things, which most of the times go over the head because they fail to explain the logic and basics. A small series like this clear a lot of concepts, because you explain the core logic/philosophy/basics by taking a real world application and going through the whole process in a coherent manner. More power to you.
@MrZax-kl5si
@MrZax-kl5si 2 года назад
Thank you so much Shaun because of your teaching I got my first job. I am so happy thank you so much❤️
@NetNinja
@NetNinja 2 года назад
That's fantastic to hear, congratulations Zax! :)
@thexhist3609
@thexhist3609 2 года назад
can you share the websites from where you applied for jobs
@killerdroid99
@killerdroid99 2 года назад
@@NetNinja postman is great but there is an extension called thunder client which is built into vscode for api testing
@MrZax-kl5si
@MrZax-kl5si 2 года назад
@@thexhist3609 LinkedIn
@Beyblade0battles
@Beyblade0battles 4 месяца назад
This is a very basic clarification, but I feel the urge to write this for some absolute newbie who visits in the future. localhost:4000/api/workouts is the same as localhost:4000/api/workouts/ what I am pointing out here is that the slash (/) at the end means the same thing, if it isn't followed by anything else. That's why if you see in this video sometimes there will be / sometimes there will not be / Don't get confused. The / only matters if there is going to be something followed after it
@medweb8690
@medweb8690 2 года назад
You’re an amazing teacher and coder, I appreciate your content! Cheers
@OneLordeAnimeClips
@OneLordeAnimeClips 8 месяцев назад
About to graduate in May and I'm looking for a full-time entry level role. So these types of projects are what I need to try to make myself stand out. You're one of the best teachers I've come across on the entirety of RU-vid so cheers for everything bro
@ochonogordestiny385
@ochonogordestiny385 Год назад
Good work Shaun. You make everything look so easy. Hats off for you Shaun
@NetNinja
@NetNinja Год назад
Thanks for the kind words :)
@amazingsports4600
@amazingsports4600 2 года назад
It's going wonderful, hard work behind it.
@cryptoboy1461
@cryptoboy1461 2 года назад
Great job Shuan! I just finnished the whole playlist and I'm feeling very confident building my own MERN apps. Thank you so much!👍🏼👍🏼👍🏼👍🏼♥♥♥♥
@NetNinja
@NetNinja 2 года назад
Awesome! Glad it helped :)
@yinonb172
@yinonb172 2 года назад
The ultimate coding channel on the web, thanks Shuan san !
@mohamedessabir
@mohamedessabir 2 года назад
note: we can also use the put request for updates purposes. thanks for your great explanation.
@malmossa
@malmossa 2 года назад
With put you would have to send the entire JSON payload just to update one field, but with patch you only update the field needs to be updated.
@SonnyTechAcademy
@SonnyTechAcademy 2 года назад
God bless you man😊 🙏 . thanks so much. u've really helped me. keep going man 🔥🔥
@maskman4821
@maskman4821 2 года назад
Great lesson, great reviews 😘
@sseroan
@sseroan 2 года назад
I am loving this. Thank you Shaun for this 😘😘
@kakuritsoskakuritsidis1768
@kakuritsoskakuritsidis1768 Год назад
Incredible teaching skills imo. Amazing!
@NetNinja
@NetNinja Год назад
Thank you Kakuritsos :)
@ibrahimshaheen8572
@ibrahimshaheen8572 2 года назад
thx bro for ur greate efforts I have one Q why u use PATCH not PUT request
@knixkcodes
@knixkcodes 2 года назад
This man is doing god's work!
@vojka2973
@vojka2973 Год назад
HELLO NINJA! I was wondering if you could make a Udemy MERN stack in depth course ? I bought all of your courses and I love them! This tutorial series is amazing aswell!
@aroyanbs
@aroyanbs 2 года назад
Amazing series 🤩
@towatch
@towatch 2 года назад
Fire 🔥🔥😍😍
@1shotter
@1shotter 2 года назад
Your videos are really helpful.
@NetNinja
@NetNinja 2 года назад
Thanks Darius, glad to hear that :)
@supradatripathy8272
@supradatripathy8272 2 года назад
Great Work, it helped me so much.
@NetNinja
@NetNinja 2 года назад
Awesome, glad it helped Suprada :)
@chaerulchuluq5319
@chaerulchuluq5319 2 года назад
Nice tutorial, may I know why do you use PATCH instead of PUT?
@SouthGuy-ty3cl
@SouthGuy-ty3cl 2 года назад
PUT is a method of modifying resource where the client sends data that updates the entire resource . PATCH is a method of modifying resources where the client sends partial data that is to be updated without modifying the entire data.
@0the0ambient0
@0the0ambient0 2 года назад
Great tutorial. Thank you.
@NetNinja
@NetNinja 2 года назад
Hope it was useful! and thanks for the support :)
@samirvaliyev
@samirvaliyev 2 года назад
Great lesson
@kartikfire
@kartikfire 2 года назад
Just TOO GOOD!
@lacherolachero9409
@lacherolachero9409 2 года назад
What’s the reason you are using cjs and not mjs?
@kim92se64
@kim92se64 2 года назад
awesome
@bhupinderbhattarai244
@bhupinderbhattarai244 2 года назад
How can i donate you? I just want to appreciate your hardwork!
@imadeddinekebour9278
@imadeddinekebour9278 2 года назад
join his channel
@NetNinja
@NetNinja 2 года назад
Hi Bhupinder, thank you for your support. You can become a member of the channel by clicking 'Join' underneath the videos. Cheers! :)
@mrgrossartig
@mrgrossartig Год назад
Mister Ninja, I've done quite a few of your tutorials now. And I really like them. You explain everything in a depth wich is really pleasant. It's not too much and not too little. But there is one thing, that, as I think, would boost the learning curve a lot. And that would be, if you would tell us before hand what you would like to do now. Because, I'm learning what you would like to do, while you are typing out the code. Why not show us how it is done like: // GET all workouts router.get('/', (req, res) => { res.json({mssg: 'GET all workouts'}) }) "And now guys, see if you can do it by yourself" And then you just write the comments // post workout // delete workout ... In that way, if I feel adventurous, I can pause the video and get a boost in confidence if I have done everything right. And for everybody else they can just follow along.
@bruh2053
@bruh2053 2 года назад
Nicee that was perfect, btw how many parts are in this playlist?
@NetNinja
@NetNinja 2 года назад
14 in total :)
@ruanradyn5983
@ruanradyn5983 2 года назад
@@NetNinja this course came at the perfect time!!! Thank you for sharing your expertise. When can we expect part 4? 😃
@proteus1
@proteus1 2 года назад
Did you have any videos for nav to make the into burger menu. What should I learn after htnl & css. Cheers D
@AjayKumar-sh8rf
@AjayKumar-sh8rf 9 месяцев назад
why not use body-parser as the middleware to to get the request body?
@domzzolanski6417
@domzzolanski6417 Год назад
thank u for this sir.
@NetNinja
@NetNinja Год назад
No probs!
@theblancmange1265
@theblancmange1265 7 месяцев назад
Course files only has the readme.
@hplat-vku
@hplat-vku 3 месяца назад
thank broooooo
@alexg7282
@alexg7282 2 года назад
Thank you
@NetNinja
@NetNinja 2 года назад
Thanks for the support Alex :)
@mallikarjunsmodi8069
@mallikarjunsmodi8069 2 года назад
Hi the resource file is not available in the github repso, would be helpful to debug my errors. Thank You
@doniaelfouly4142
@doniaelfouly4142 Год назад
thanks
@FullyBadDad
@FullyBadDad Год назад
Is it /api/workouts because the entry point is the api? otherwise wouldnt the path begin with some other entry point?
@JmanJonz
@JmanJonz Год назад
This is what I am trying to figure out...
@krish4659
@krish4659 5 месяцев назад
2:30 why don't we have access to app inside those files???
@mohamedyoussef8835
@mohamedyoussef8835 Год назад
Awesome video ++++++++++++++++++ 🙂
@michalnowak2181
@michalnowak2181 2 года назад
thx
@Pareshbpatel
@Pareshbpatel Год назад
{2023-02-18}
Далее
MERN Stack Tutorial #4 - MongoDB Atlas & Mongoose
8:49
MERN Stack Tutorial #2 - Express App Setup
15:31
Просмотров 178 тыс.
НЮША УСПОКОИЛА КОТЯТ#cat
00:43
Просмотров 1 млн
You might not need useEffect() ...
21:45
Просмотров 162 тыс.
MERN Stack Tutorial #6 - Controllers (part 1)
14:32
Просмотров 87 тыс.
Learn Express Middleware In 14 Minutes
14:48
Просмотров 400 тыс.
Mongoose Crash Course - Beginner Through Advanced
33:36
НЮША УСПОКОИЛА КОТЯТ#cat
00:43
Просмотров 1 млн