ExpressJS Middleware Tutorial - NodeJS Middleware For Beginners

  Рет қаралды 10,872

PedroTech

PedroTech

3 жыл бұрын

Best Tech Resume Template: papermoontech.com/pmcsrtk/pedro
Use code: PEDRO for 20% off ^
In this video I will teach you guys the basics of middlewares in Express. Middlewares are very common in a node / express application and have many cool use cases!
-
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/learn/reactjs-pr...
Please leave a comment on what topic you guys want me to cover next!
-
📞 Tutoring Session: www.fiverr.com/share/pw8RPY
💻 PedroTech Discord: / discord
-
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Twitter: / pedrotech_
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/machadop1407
Email: machadop1407@gmail.com
Tags:
- NodeJS Middlewares
- Fetch
- ReactJS Tutorial
- ReactJS and MySQL
- NodeJS Tutorial
- API Tutorial

Пікірлер: 42
@mostafatarekadam8861
@mostafatarekadam8861 Жыл бұрын
Thank you Pedro, your videos are always on point and straight forward great
@jameshalstead6742
@jameshalstead6742 2 жыл бұрын
How this hasn't received more thumbs up than this I have no clue. I've been doing this for a while now but still a newbie. I never paid attention to what middleware was until recently but still didn't know exactly how it worked. This made it click, Good job Pedro! In my opinion, you are the best React KZbinr, and I highly recommend you to everyone who is trying to learn or improve their React skills.
@PedroTechnologies
@PedroTechnologies 2 жыл бұрын
Glad to hear! Yeah this was one of my favorite videos to make cause I feel like middlewares are often overlooked by beginners. But tbh my videos do well based on the youtube algorithm. Not always the best videos gets the most views/likes hahaha Thank you for watching :)
@nirajdeshmukh7514
@nirajdeshmukh7514 10 ай бұрын
hey pedro! I am really thankful for this video. I understood very well by watching this video! 😊
@ashleyyong4963
@ashleyyong4963 Жыл бұрын
hi pedro! thanks for this video. was really helpful! love from Singapore
@richcaro3132
@richcaro3132 3 жыл бұрын
Great man. I could understand the functioning of next() and creating a middleware. I think your explanation is flawless. Being so busy, you could spare some time and educate us. Thank you..
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it was helpful! I appreciate the support!
@shockwave8429
@shockwave8429 Ай бұрын
Your videos are just top notch ♥
@k303k
@k303k Жыл бұрын
Hi Pedro! Thanks a lot for your tutorials.I 've really learned a lot from your videos
@Dousan87
@Dousan87 2 жыл бұрын
I'm learning English too, and I understood all your explain. Thanks!
@Ayush-lj6pq
@Ayush-lj6pq Жыл бұрын
You are a very great man :) You are a Next Level person :) Love from INDIA ❣❣❣❣
@ThColinPereira
@ThColinPereira 3 жыл бұрын
Great video Pedro
@softblood1941
@softblood1941 3 жыл бұрын
Hi Pedro. I would love to see you making a full stack crud app, full stack login authentication app using node, express, ejs, MySQL. I think ejs is very welcomed. Keep up the good work!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hey, I plan on making a full authorization / authentication application tutorial again! I may use ejs just for visual, but I was actually planning on just making this work with an api tester like postman since I want to focus on the api rather than the ui!
@softblood1941
@softblood1941 3 жыл бұрын
@@PedroTechnologies cool but the connection of front to back is also important to teach. and i belive ejs and node is perfect.
@sayeesreeram
@sayeesreeram Жыл бұрын
Good Video Pedro
@ileanacano5628
@ileanacano5628 Жыл бұрын
❤❤❤super love
@arjay_2002
@arjay_2002 3 жыл бұрын
Ty!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it!
@pranjalwalia3810
@pranjalwalia3810 3 жыл бұрын
Good stuff
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you enjoyed
@mdreadwan2791
@mdreadwan2791 3 жыл бұрын
Nice explnetion man. easy to understand middleware. I was stuck into it. Thanks man.❤️ Can you do something about MVC?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! I plan on making an MVC video!
@forestmilo5568
@forestmilo5568 3 жыл бұрын
i guess I'm kind of randomly asking but do anyone know of a good site to watch newly released series online?
@collinjamal6644
@collinjamal6644 3 жыл бұрын
@Forest Milo I would suggest FlixZone. Just google for it =)
@juelzdante3845
@juelzdante3845 3 жыл бұрын
@Collin Jamal Definitely, I have been watching on flixzone for since april myself =)
@forestmilo5568
@forestmilo5568 3 жыл бұрын
@Collin Jamal thanks, I went there and it seems to work :) I really appreciate it!!
@maxmaksum4673
@maxmaksum4673 3 жыл бұрын
awesome
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it!
@PanlasangMotour
@PanlasangMotour 3 жыл бұрын
Nice !! i've know it nahh!! lmfao try it with passport js :) with mvc implementation
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Awesome! I can definitely make a vide on it!
@conspirisi
@conspirisi 3 жыл бұрын
Could you do something on fundamentals of security? Like am I right in thinking anyone can run your serverside code from the devtools? I know this is prevented to some degree with authentication, but code that isn't that sensitive on the server, can I just run express js functions, by calling them from the dev tools?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hey, so you can't actually run express functions from the devtools cause all of that belongs to the server and not the browser. WHat you can do is make api calls from the devtools, so to protect that you can add some sort of authorization token.
@conspirisi
@conspirisi 3 жыл бұрын
@@PedroTechnologiesthanks for replying, so for example say I've got a "to do list" application that writes entries to a database. I write to database via code that's called from a clientside js file (accessible to public) this code calls a server side function (not directly accessible to the public) that then writes the database. What stops a malicious user finding that code in the clientside and continously running it (either via the console, or just clicking in the browser without knowing any js) and using up your quota of requests say from a cloud db provider? My concern is that I'm going to have write custom code to prevent that? That's all.
@usmanmughal5916
@usmanmughal5916 3 жыл бұрын
Nice video didnt even watch yet :P
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hahaha Hope you enjoy!
@exe.m1dn1ght
@exe.m1dn1ght 11 ай бұрын
i dont get it, whats the point in this ? i could put some if else statements inside routes and obtain same effect
@falconarea
@falconarea 2 жыл бұрын
Nice tutorial! Racist login middleware, cool
@arjay_2002
@arjay_2002 3 жыл бұрын
Do you go to the gym?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Yeah why? lmao
@usamakhalied6009
@usamakhalied6009 Жыл бұрын
I am stuck. because my routes are different like app.get('/getAllData') and second app.post('/postData').
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 8 МЛН
Express JS #9 - Middleware
21:42
Anson the Developer
Рет қаралды 4,1 М.
MVC Pattern Explained Easy | MVC Tutorial (Example in NodeJS)
17:05
Node.js Crash Course Tutorial #8 - Middleware
15:58
Net Ninja
Рет қаралды 209 М.
Learn MVC Pattern with ExpressJS and NodeJS - Tutorial Beginner
10:10
Building A Rest API with NodeJS and ExpressJS | Beginners Tutorial
1:06:36
Managing User Roles - NodeJS Authorization
16:33
PedroTech
Рет қаралды 137 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 5 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 14 МЛН
Мой инст: denkiselef. Как забрать телефон через экран.
0:54