RESTful APIs in 100 Seconds // Build an API from Scratch with Node.js Express
Ғылым және технология
What is an API? What is REST? Learn how an Application Programming Interface (API) can adhere to Representational State Transfer (REST) to enable reliable communication between apps fireship.io/tags/node/
👕 Best comment wins a free T-shirt (read fine print at end of video)
Open API Spec swagger.io/specification/
Request Methods developer.mozilla.org/en-US/d...
#api #js #100SecondsOfCode
Install the quiz app 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font
Пікірлер: 901
Front-end Dev: fix your responses! Backend Dev: fix your requests!
@nicosup
3 жыл бұрын
meanwhile fullstack devs, jaja mere mortals
@skyracer-mk8hg
3 жыл бұрын
until you notice that a rest api requires json as input and outputs xml
@priyanshusharma6763
3 жыл бұрын
And that's how hatred cycle continued 🤣
@rifaldhiaw
3 жыл бұрын
User: Fix your app!
@ragulu9267
3 жыл бұрын
@@rifaldhiaw Tester : "We found a bug"
Manager: Why isn't your APIs responding? Me: Its RESTing
@user-gu5ts5nx8r
3 жыл бұрын
for how long ?
@mounssifkoumila3962
3 жыл бұрын
Good one haha
@Abdulahi-mq7vc
3 жыл бұрын
@@user-gu5ts5nx8r for eternity
@yuvrajdudhal1147
3 жыл бұрын
Friggin legendary
@user-gu5ts5nx8r
2 жыл бұрын
@@hermes6910 which means no more business.
It's incredible how much you can explain and transmit in 100 seconds while others cannot reach an idea in 40 hours courses.
@ProtikPC_pro_indigo
2 жыл бұрын
hey there. the what, why how of express node jWT and other allied technologies within the ecosystem. In a NutShell. kzread.info/dash/bejne/dYKK1rRph8qxdMY.html LIKE, SHARE and SUBSCRIBE to the channel for more.
@Konslufius
2 жыл бұрын
Because they tend to drift away and mention a bunch of terms that are relevant but don't elaborate further and you just have to understand/know them.
@monssidus1291
Жыл бұрын
not even one redundant word in any sentence. much appreciated for well thought out and articulated education.
@monssidus1291
Жыл бұрын
@@Konslufius people aren't RESTfull, the way data goes between humans is not fun.
@afifnusada4712
8 ай бұрын
that’s what i was going to say😮😮.
Interviewer: What is a REST API? Candidate: API that follows the rules of RESTful Interviewer: You hired!
@blackhole783
3 жыл бұрын
Enough?
@balajiravi9259
3 жыл бұрын
Lol😂😂
@nig3ldoug1as63
3 жыл бұрын
Enough?
@user-mc8wg6qq3b
2 жыл бұрын
Lol😂😂
@ProtikPC_pro_indigo
2 жыл бұрын
the what, why how of express node jWT and other allied technologies within the ecosystem. In a NutShell. kzread.info/dash/bejne/dYKK1rRph8qxdMY.html LIKE, SHARE and SUBSCRIBE to the channel for more.
I love this. Straight to the point and extremely clear - I was searching for days for something like this! Thank you!
“All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can’t get them together again, there must be a reason. By all means, do not use a hammer.” - IBM Manual, 1925
@nothingnoone8752
3 жыл бұрын
TIL IBM was founded in _1911_ ?!? Wtf?
@hik12
3 жыл бұрын
@@nothingnoone8752 Yeah, for one reason they are critiqued for helping the Nazis, might wanna check that out.
@PabloBianchiOK
3 жыл бұрын
It's cooler 1925, but should say 1975: ibm.com/downloads/cas/1V29LE4Z
I literally spent the last 2 days trying to decide what approach I should take for an API, and here you are. It's as if the needs of devs just calls to you
Holy crap, every single new video of you astonishes how it is possible for a single human being to keep up to date with all these technologies and even explaining them so well, putting them into 100 seconds of proper video and even offering longer tutorials as a pro-Member. Insane!
I always love your 100 seconds videos and your tutorials but this one really makes it up there amongst the best, really great explaining and it helped me complete my first project.
I swear my college class on programming was a waste. I couldn’t learn and the teacher doing the teaching made it difficult to like. Now on my own term, videos like this I can digest the information really well. Who is doing the teaching matters. Thank you youtube and the proliferation of information from the internet.
The knowledge you pass on isn't comparable in value with a T-Shirt.
i find your videos a nice way to refresh myself (without watching an hour-long video) when i haven't touched a certain topic in a while, thanks Fireship!
I have started on learning JS, Node and Express. Thank you for this awesome video about RESTful APIs. This really helps me getting things much clearer!
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
@Fireship
3 жыл бұрын
Well done! That was quick, send me an email or DM on slack with your size and mailing address 👕
@abishekp.y4736
3 жыл бұрын
@@Fireship thank you 🤩
@neillunavat
3 жыл бұрын
Uhhh
@SirDamatoIII
3 жыл бұрын
If the only tool in your toolbox is a hammer, every problem somehow seems like a nail.
@neillunavat
3 жыл бұрын
@@SirDamatoIII my mans breaking the fourth wall of philosophy here
all of those jokes are tiring me, i need to REST :D
@robinferizi9073
2 жыл бұрын
SMH
@iEv0lv3_
2 жыл бұрын
Give it a rest
@robinferizi9073
2 жыл бұрын
@@iEv0lv3_ smh
@TheLPfunnTV
2 жыл бұрын
This left me feeling kinda RESTless
@thomasgipson7120
2 жыл бұрын
God why
10:59 YES, I (we?) want a full tutorial :)
@ukaszszarpak1938
3 жыл бұрын
We do indeed!
Idk why but this video is so good at explaining the essentials while also going into detail when needed. This is like the only video i watch to help refresh my memory of APIs. Its like my 5th time watching lmao
Whenever there is a new Fireship video, I feel like Neo when he's about to learn Jiu-Jitsu
I've been working on an API/Express project and I had no idea tools like Insomnia exist. Game changer -- thank you *so* much for another great video.
When I first learned about REST apis it took me weeks if not months to understand this concept, your videos are amazing, keep it up!
This was an amazing video just lime the rest of them. I love your channel and all you do. Becuase of your videos I was able to keep working where other wouldn't!! Thank you !
418 is the "I'm a teapot" response code, nice xD
@w1d3r75
3 жыл бұрын
Twitter also have a 420("enhance your calm) status code for rate limit request xD
@inklingboi8431
3 жыл бұрын
@@w1d3r75 haha nice X)
This is by far the most clear and straightforward tutorial I've ever come across. Thank you so much 🔥🔥
It's crazy how he always post a video about a topic that I just have been researching or learning at school 🤯
Great content as always, I would love to see the AWS infrastructure provisioning via swagger/open API documentation. Never knew that was possible, but that’s really cool
Nice! took me a few days to get through this 100 second video but I actually earned my congratulations this time! Thank you for the content! I look forward to more like this! some more exclamation marks for good measure: !!!!!!!
This channel is gold! I learned more in 10 minutes from you than in a couple of hours reading sparse documentation. Thak you!
Thank you so much, there are so many guys want to explain a concept in “simple” term but actually mess easy things up
In continuity to this tutorial I would suggest that a set of videos showing how to deal with persistent data would be ideal. Most people can learn how to create the API URIs, but the real deal is when it is for a developer to manage to records to a Database. That's MySQL for example and not Firebase which happens to be more simplified. Also, an example from various programming languages should help a ton of people to move things forward.
@paymentpassport5850
Жыл бұрын
MongoDB is the best ❤
Absolutely brilliant! Thank you sooo much for this lesson! :)
I've been using REST APIs forever without knowing the underlying logic! Thank you so much for this video!
Love your video dude! It was taught to us for hours and I didn't understand anything but here in just - 100 seconds
Fantastic tutorial. Your instructions are very easy to follow, the pacing is perfect for getting to the points fast without feeling rushed, and this provides the perfect foundation for further exploration.
Haha, I wrote my exam about REST-APIs a few hours ago :D
@soulninjadev
3 жыл бұрын
wow colleges teach about all those !?!?
@freshesfaultier5087
3 жыл бұрын
Moin, auch Deutsche hier. Nice
@hagenlens1403
3 жыл бұрын
@@freshesfaultier5087 Bratwurst
@abishekp.y4736
3 жыл бұрын
Do you have it in your college curriculum?
@dislikepineapples
3 жыл бұрын
@@freshesfaultier5087 klaaar
Bro, this channel is so underrated. Like I know so much more of js from you. Love the animations too. Keep up the great work!
Man, I can't thank you enough for this excellent tutorial! Best in class, keep 'em coming!
I'm a front-end dev (Angular), I find your video simple and straightforward. Thank you!
Knew about REST but would love to hear more about the API configuration part at the end!
This video was perfectly timed! I just started working on Express in my bootcamp. Thanks for the helpful video!
Honestly, this is the best explanation of restful apis I've ever seen.
Love your content. Saw every video and there is no person like you on the whole youtube. Every material Is well structured and explained better in few minutes than some tutorials 1h long.
A full tutorial on APIs please! Love the content.❤️
The level of how you providing content is awesome. This is really inspiring.
I LOVE YOUR 100SEC videos. they're the best to get a general idea over new terms or languages... as i was about to search for rest api, i found this video, and its the best for me to know what to go on and do now
I have a suggestion... recently I was in a big project and I was confused as hell. We had many arguments and fights about what folder structure to use for our API: - Where to put validation? - Use validation in express.js way (in the routes like a middleware) or separately? - Where to put routes? - break routes into different files or one single file? If so, break based on what? There are just countless questions to be answered in this regard. The problem also is that nobody makes videos about folder structure for enterprise level applications. It would be great if you could make it a thing.
First 3 seconds of video convinced me to like this video because there's no 'hi guys today I'm going to explain you what the API is how does it work and than we gonna build one ourselves so let's jump into it, roll the intro' and than after 20s dubstep intro he would start talking nonsense in different language. So I respect you for respecting our time and going straight to the point.
OK! I'm not binging Netflix onward!! Here I'm watching FIREShip productions. This 100s series got me rolling deeper into web development more than I have ever did. Hats off for such genius content creation. Loving it! 💯 I've never enjoyed and learnt so much my entire YT browsing history before running into Fireship. 🤞
Yes, I want to see a full tutorial on that subject.
You nailed it brother. Well done! Thumbs up (Y)
We learned WebSockets/Message Queues and RESTful APIs in Java. It had a LOT of boilerplate code, it was frustrating. Good thing I discovered afterwards Express, but I've also learned something from your video. Keep up the good work!
I never watched any of your coding tutorials, wow you literally explain everything thank you!
Your tutorials are really nice, thanks for taking time for making these series and videos
gRPC in 100 seconds please!
@claudenirmf
3 жыл бұрын
I'd prefer a video on RPC first and then explain the role of gRPC
@_____case
3 жыл бұрын
I came here to say this.
@sajibsrs
3 жыл бұрын
RPC
I have been going through multiple chanel since 10 days but got complete required knowledge in this single vide. Thank you so much❤❤❤
I thought that it would take hours to get Insomnia working with this Node.js project but they have got things right and for once everything in this tutorial worked fine! Thanks!
I would really love to see the full API Gateway configuration!
Oh sometimes API needs to REST
@ScarlettNuvvoTV
2 ай бұрын
I need a rest from APIs lmao
@hopahop8071
21 күн бұрын
REST assured it will get it one day.
This was a really cool video. I heard about REST API, I read swagger doc, used Postman, heard about curl, JSON, but this video nicely tied everything together It's both terrifying and exciting at the same time to transition from HW to SW ENG. This is week 2. Thanks, keep up the good work.
This was perfect, timewise and feature wise for me to test something out. I didn't want to spend hours working through a tutorial! I am new to this channel, but I subscribed and liked this video. I'll have to check out your other videos too. I have a feeling I am going like them too!
Fireship: I don't like code generators Also Fireship: Let's generate some React Components Also Fireship: Let's generate an Electron App
Hey, predicted it yesterday. Was just researching about it and then I got this notification. Amazing job man 👍. Now I can REST my APIs (see what I did there? )
The quality of your videos is just excellent. Keep up the great work 🙏
this couldn't have come at a better time! Dude you ROCK!
Can you do a tutorial where you create an API that takes user input and kind of show us the basics of how to handle users?
Well explained 👌
what an explanation dude. I am new at node js but no one explained how to create a simple get post api as simple as this. Thank you
well everyone here was already clear and aware as to what a restful api is, but still watched it like me to appreciate your hard work and in turn refresh our knowledge
Simple explanations in a super well-formatted videos from you always. Love your content. Thanks. See you soon!
@mrdza96
3 жыл бұрын
The time a video lasts hasn't even passed yet. Clearly didn't watch the whole thing.
@CodingNuggets
3 жыл бұрын
@@mrdza96 I watched on 2x and skimmed through. I already know API's thoroughly and it's a vital part of my job. I completely built a robust API from scratch over the past 10 months for the client I'm currently working for and I have built many in the past even for my own projects. I have extensive experience on the backend. Also, I commented quickly to get attention to my channel. No harm in that and just being transparent.
@mrdza96
3 жыл бұрын
@@CodingNuggets I do not doubt in your experience. I know about REST APIs too. I just tend to watch the whole clip in respect of the work Jeff puts in all of his videos.
@CodingNuggets
3 жыл бұрын
@@mrdza96 He does do amazing work and his editing is always so good. I went ahead and watched the whole video on 2x and didn't skim so it wouldn't hurt his watch time. Appreciate you bringing it to my attention.
ORM in 100 seconds please! More specifically sequelize if possible
As someone new to all of this, man, this was a blessing!
Not only I learned About REST API, I also Learned Basics of Express JS. I always wanted to Learn Node + Express, Now you have motivated me to start Learning it ASAP. Thank You.
Golang 100 seconds and beyond!
I'm here in 15 seconds, never been this early!
An crystal clear explanation of writing an API with Node.js and Express!
You keep saving my life 😭 So many elitist, semi-intentionally poorly explained concepts, and you make them so approachable. It's not the first time I've come to your videos for rescue; it definitely won't be the last!
port in 100 seconds
Thank you very much, its very educationg
I'm currently working on my capstone for university and this video was so helpful in explaining how to create an API with Node.js and Express
This was the exact visualization I needed. Thank you.
Great video! Now I can REST in peace!
At the age of calling girls, we are calling APIs 😂😅 and API also not giving any response 😂😂😂
@maxdegreat566
3 жыл бұрын
They are resting, we can call them when they wake up lol
Really appreciate you going into details what each part of the code is doing. Like the call back in the get and the Middleware function etc. Tyvm
i love you're videos. they are always so compact and spot an.
You should do one on Hasura for graphql, its way easier than rest
@Fireship
3 жыл бұрын
Hasura is awesome, I will make that video eventually.
My wife hired a PI because she thought I was having an affair. Truth was I rented the motel to take a rest because I was full after lunch. She sued me and now I’m being transferred to state prison because I decided to represent myself. I can even post bail so I’m staying put.
This is literally what I wanted to know. 10/10, would watch again.
Thank you so much for the incomparable l'évolution of simplicity ❤
Damn I just wrote one of those this week!! Hadn’t used Express before and was very pleased with how straightforward it is.
Finally, we got this video we can REST well after watching it.
The one thing I wanted to learn today and there's a video about it in my notifications already lol
As an absolute beginner trying to wrap my head around all these new concepts covering backend tech, I must say this video made the most sense out of all the other vids on yt on RESTful apis. So, thank you!!! Btw, anyone passing by this comment... any advice for someone like me who's trying to become a MERN stack dev?
Great 10min of Knowledge. Fast and Efficient
Thank you! I appreciate your vids man. Keep up the great work!!
Man, i love the way you teach and the teapot as well!
no one else does it better than you, thank you!
I am really enjoying these 100 seconds videos, thanks for sharing them
i wish i watched this video earlier i was lost for many weeks understanding. Now i understand. Thank you
I learned more with this video with any other 40min video I watched before
This has been a long awaited video for me... Thanks for making the video ❤️
I really appreciate these videos. Thanks man!