Koa.js Crash Course - Modern & Minimalist Node.js Framework

  Рет қаралды 82,615

Traversy Media

Traversy Media

Күн бұрын

In this video we will look at the Koa framework which is a microframework created by the same creators of Express. We will look at basic concepts, setup, routing, templates and more
Sponsor: DevMountain Bootcamp
goo.gl/6q0dEa
💖 Become a Patron: Show support & get perks!
/ traversymedia
Website & Udemy Courses
www.traversymedia.com
Follow Traversy Media:
/ traversymedia
/ traversymedia
/ traversymedia

Пікірлер: 105
@mikeclarke2855
@mikeclarke2855 5 жыл бұрын
Man I love it, I think a lot of us will really appreciate a project done using this framework.
@pateldeep93
@pateldeep93 5 жыл бұрын
I was literally googling about this yesterday... Thanks for video.
@EmmanuelMkansi
@EmmanuelMkansi 5 жыл бұрын
Brad, you're so awesome, always short and very straight to the point. Keep up the good work.
@gregorytippett9692
@gregorytippett9692 4 жыл бұрын
Even if I didn't code I would still listen to Brad's tuts because his voice is so chill.
@dumbfoundtown
@dumbfoundtown 4 жыл бұрын
Thank you, wonderful video with some good explanations / context. I want to learn node and backend and will use Koa on my job so this helped me ingrain some knowledge about it. Keep it up!
@YaserAz
@YaserAz 5 жыл бұрын
Hi Brad. I was really impressed by your tutorials and especially the 'MERN Full Stack' on Udemy! That was a leftover for me. It really helped me comprehend the overall concept . Hope to see another advanced one like it from you . Love you man! keep in coming :D
@nimasab2377
@nimasab2377 5 жыл бұрын
Brad you’re just freaking awesome 👍👍👍 you’ve helped me like a thousand times. I can’t thank you enough. God bless you
@dejson420
@dejson420 5 жыл бұрын
I've just started learning koa and you put up this video. Thanks
@ephreyilunga6360
@ephreyilunga6360 5 жыл бұрын
Being waiting impatiently for another awesome educational video from you Brad ! And this video just popped up !! Thank you Brad. PS: I learned PARCEL BUNDLER from you.
@ganeshsrambikal3614
@ganeshsrambikal3614 5 жыл бұрын
you made it easy to understand, thanks brad.
@benjaminreynolds3659
@benjaminreynolds3659 5 жыл бұрын
I find your videos therapeutic.
@xristianmatos
@xristianmatos 2 жыл бұрын
Excellent tutorial, I learned a lot with it.
@Mohammad-vv5ef
@Mohammad-vv5ef 5 жыл бұрын
Hey Brad, thanks for your awesome and impressive crash courses. Please create a playlist of Python courses because I'm following web development according to your instructions.😁
@terry6180
@terry6180 5 жыл бұрын
Big big thanks. .....love its all your videos....
@javierlizarazu7680
@javierlizarazu7680 5 жыл бұрын
Awesome tut as always. Thx bro
@sexyeur
@sexyeur 5 жыл бұрын
Love the video. Thank you! You're choosing Koa for what reasons? Do any of these frameworks have any particular application or advantages that make them preferable to others?
@bradical8198
@bradical8198 3 жыл бұрын
Jesus Christ.. of coarse you have a video on this, video on erythang! FANTASTIC BRAD!
@AlexanderSuraphel
@AlexanderSuraphel Жыл бұрын
Awesome overview! It would have been nice if you added a simple auth flow( maybe basic auth). That would give a taste of the framework for someone trying explore.
@viveks289
@viveks289 5 жыл бұрын
Thanks a lot for your efforts.
@ClassicCartoonsNL
@ClassicCartoonsNL 5 жыл бұрын
Thank you for this video!!!
@mukundhbhushan6709
@mukundhbhushan6709 5 жыл бұрын
Great crash course 👍👌
@skillfulactor09
@skillfulactor09 5 жыл бұрын
are you ever going to major vue.js or vuex courses and such or nuxt.js
@dhanmoninath834
@dhanmoninath834 5 жыл бұрын
Thank you for this dope tutorial. Please make a video on Google Site verification API using MERN.
@goat_father
@goat_father 3 жыл бұрын
Really helpful. Thanks!
@diogow3
@diogow3 5 жыл бұрын
Nice. Nest.js next, please!
@prateekkumar6661
@prateekkumar6661 5 жыл бұрын
Suprb work bred!
@praweewongsa
@praweewongsa 9 ай бұрын
thank you. i love it.
@knightonhd1144
@knightonhd1144 4 жыл бұрын
Nice One, Thanks Brad
@quebirt
@quebirt 5 жыл бұрын
Another great video. Thank you. Koa looks like something that I could get into if I weren't so tired of javascript. I like the minimalist approach, and faith in the Express guys is a given. Hoping I don't sound like I believe I own your time, but I hope you haven't been sidetracked from the Golang-web front.
@hassanali-yi4bu
@hassanali-yi4bu 2 жыл бұрын
Why would you be tired of javascript? Its an amazing language, read the book "you dont know JS" to really learn javascript
@TheCodePro
@TheCodePro 5 жыл бұрын
Hey, awesome video Brad! Just wanted to take a minute and say that you're a real BEAST for creating this much content on your channel. We really appreciate the amount of time you put into these videos. You're a real inspiration!
@AndreiNedelus
@AndreiNedelus 5 жыл бұрын
Hello, i really enjoy your tutorials, is it possible to make a tutorial on how to use touch events listeners in a web app For example swipe from left to right and open the menu.
@dev.syedmh
@dev.syedmh 5 жыл бұрын
your accent, like your content, is great :)
@elhadjbabacarcisse2868
@elhadjbabacarcisse2868 5 жыл бұрын
Thanks Brad!
@wilgen6827
@wilgen6827 2 жыл бұрын
Amazing!
@kentsang3786
@kentsang3786 5 жыл бұрын
Awesome videos dude
@ChaosEmerald85
@ChaosEmerald85 5 жыл бұрын
quick solution for a problem I ran into: if you're getting an undefined object returned from the body, make sure you put app.use('bodyParser') BEFORE the app.use statement for the router
@overnightmares
@overnightmares 5 жыл бұрын
Brad hi, do you have any plans to make a (udemy) course about React Native? There are not so many and I'm really liking your teaching style. I hope you release a comprehensive react native course with making a full stack application with authentication , maps, camera app etc.
@TraversyMedia
@TraversyMedia 5 жыл бұрын
ofisboy its on my top 5 list most definitely. CAnt say when though
@daysnight2871
@daysnight2871 5 жыл бұрын
NativeScript?
@overnightmares
@overnightmares 5 жыл бұрын
Traversy Media great news! looking forward to it! I hope you also cover ejecting and using 3rd party libraries inside the ios/android projects.
@naspy971
@naspy971 5 жыл бұрын
almost 500,000, hoping a special video about it
@CopyPasteYoyoTricksTutorials
@CopyPasteYoyoTricksTutorials 5 жыл бұрын
Great crash course! Can you make crash course to node.js scheduler jobs like agenda?
@adace1
@adace1 5 жыл бұрын
Hey Brad, could you make a tutorial on async/await in Python? Thanks.
@seankaila
@seankaila 4 жыл бұрын
hi. ive got a slight problem. followed your tutorial its great. However when i run a post route using a button. The program would run multiple times, then even run buttons that havent been clicked. Any idea why?
@satyasaadhak
@satyasaadhak 5 жыл бұрын
I'm not even remotely close to it right now, but at some point I'd like to create my own published modules for some things I have in mind. Do you have anything of that sort in pipeline? If not, could you please consider it?
@satyajeetkumarjha1482
@satyajeetkumarjha1482 5 жыл бұрын
Hey Brad, Can you make one video where you dig into the source code of frameworks say of express etc?
@greggsworld4453
@greggsworld4453 3 жыл бұрын
that would be epic!!
@giftedfingers2580
@giftedfingers2580 5 жыл бұрын
I literally got out of bed to watch this video.
@basheeral-momani2032
@basheeral-momani2032 11 ай бұрын
20:49 , people who are watching in 2023 for bootstrap 5 you should use ms-auto
@varaprasadreddy6420
@varaprasadreddy6420 4 жыл бұрын
Please make a video on NODE-RESTFUL
@Julia_Berrrlin
@Julia_Berrrlin 2 жыл бұрын
@brad I'd appreciate an update to this especially vs nest.js Is koa still the best
@forzaforza9204
@forzaforza9204 5 жыл бұрын
Any of you heart of Nests? Nodejs framework is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming). Let me know what do you think of using TypeScript in the back-end.
@HansHeidman
@HansHeidman 2 жыл бұрын
Commands used in this video: - npm init -Y - npm i koa - npm i -D nodemon - touch app.js (creates a file called app.js) - npm start - npm i koa-json - npm i koa-router - npm i koa-ejs - npm i koa-bodyparser
@josephakayesi6951
@josephakayesi6951 5 жыл бұрын
Hello Brad. Can you make tutorials on JavaScript Design patterns ?
@SurajSharma-do9dh
@SurajSharma-do9dh 5 жыл бұрын
Notification Squad
@HansMcMurdy
@HansMcMurdy 5 жыл бұрын
Should do a video on markojs
@kumarsandeep3886
@kumarsandeep3886 5 жыл бұрын
Hi Brad. Please make video on authentication using AuthO pleasee
@500iq6foot8
@500iq6foot8 5 жыл бұрын
Can you make a video on how to make a website work with mobile touch gestures?
@sharon8659
@sharon8659 5 жыл бұрын
Please make a video on Nuxtjs and it's deploy mods ( productions ) spa, ssr
@balajiak8517
@balajiak8517 5 жыл бұрын
Please do a video about Google Closure Library... Thanks in advance
@ShaikMoAbdullah
@ShaikMoAbdullah 6 ай бұрын
Hey brad, I need to learn Koa. Is this video still relevant as it was made 5 years ago?
@TheBestme
@TheBestme 5 жыл бұрын
Wow
@awaisraza2285
@awaisraza2285 5 жыл бұрын
Should have been a udemy course on this framework with a bang project
@danielbabu6010
@danielbabu6010 5 жыл бұрын
I love You !
@MichaelElimu
@MichaelElimu 5 жыл бұрын
The working is almost like in JSP
@Geomaverick124
@Geomaverick124 5 жыл бұрын
Would you be creating a course on ReasonML and React? Keep up the good work! Also are you going to make a Vue front to back after your python course?
@tyresew.4233
@tyresew.4233 5 жыл бұрын
Firs thing in the morning. Brad can you make reactjs projects...
@KarlooAudi
@KarlooAudi 5 жыл бұрын
Yo I'm first, while you're still here, please do flexbox video game studio development site, something like Insomniac.
@abhishek6987
@abhishek6987 5 жыл бұрын
sir can you make tutorial for how to make link downloadable in html or any other language like source code zip file for download purpose
@richiexp2
@richiexp2 5 жыл бұрын
Can you do a crash course in feathersjs please..
@bengsovannak2462
@bengsovannak2462 5 жыл бұрын
Brad could u do Ember js crash course
@denniszenanywhere
@denniszenanywhere 5 жыл бұрын
Can you do a tutorial on Solidity using JS and remix in ethereum? Thanks
@nicolasrozenberg5209
@nicolasrozenberg5209 4 жыл бұрын
.
@xpaiinz8250
@xpaiinz8250 5 жыл бұрын
Would you choose Koa over Express in any case?
@greddee
@greddee 5 жыл бұрын
Yes, Koa includes less of the built in stuff that Express provides. So if you want full control over your app, Koa could be a better solution.
@xpaiinz8250
@xpaiinz8250 5 жыл бұрын
@@greddee so I guess there are no reasonable cases to use express anymore?
@greddee
@greddee 5 жыл бұрын
@@xpaiinz8250 Well... It depends, if the project needs features that Express has then Express is a better alternative. Also, if you're simply developing an MVP, Express allows you to get results quicker because you don't need to spend as much time on customization.
@fransiscowijaya
@fransiscowijaya 5 жыл бұрын
Please add modularity, poluting app.js is messy. I don't know how to module Koa. End up with Not found ctx.
@razvacos7469
@razvacos7469 5 жыл бұрын
Mobx crash course please
@mylastore
@mylastore Жыл бұрын
I love KOA, but I can't find anything on how to set cookies from a KOA API to a Svelkit front end. The following code does not work. I see the cookie on the response headers but does not set on the browser. Can you help? or Do you have a Koa course where you use cookies and JWT tokes? class UserController { async login(ctx) { ctx.cookies.set('token', authUser.token, { maxAge: 12000, expiresIn: sessionExpiration, sameSite: 'none', httpOnly: false, secure: !isDev }) } } export default UserController
@mylastore
@mylastore Жыл бұрын
I figure the above for some reason, KOA only sets cookies with secure: true. Therefore, I installed SSL and ran dev ENV with HTTPS, which worked for me.
@FunIsGoingOn
@FunIsGoingOn 5 жыл бұрын
I was watching the part with "Add Thing" five times and it still didn't worked. Then realized the window was too small, maximized it and there it is. ^^
@realaliarain
@realaliarain 5 жыл бұрын
1
@Albertmars32
@Albertmars32 5 жыл бұрын
Mobx pleasee
@AaronTheImposter
@AaronTheImposter 5 жыл бұрын
Do you have a Slack or Discord for the community?
@TraversyMedia
@TraversyMedia 5 жыл бұрын
CodePapi i turned my discord server into a general community. Its called the developer hangout discord.gg/developers
@qazyhn94
@qazyhn94 4 жыл бұрын
15:15 views is what is used :DDD
@EnricoPolanski
@EnricoPolanski 5 жыл бұрын
I generally like your videos, but here you didn't really explained what is the most important feature of Koa (the cascading downwards and then upwards). There was much more ejs than koa really here.
@johnnydriesen7575
@johnnydriesen7575 5 жыл бұрын
Great one Brad... To all down-voters... please be that fair to say "why" you've been down-voting ...
@OstonCodeCypher
@OstonCodeCypher 5 жыл бұрын
how to create a sidenav like google adsense
@mdanilrafiqi
@mdanilrafiqi 5 жыл бұрын
feathers.js please
@kresimircosic6158
@kresimircosic6158 5 жыл бұрын
Stupid question, but is the require function the same as importing modules with Import XYZ from WTF
@nadir2k
@nadir2k 5 жыл бұрын
Found very few dissimilarities from express
@andrei8683
@andrei8683 2 жыл бұрын
tho Koa is considered several time faster (according to statistics). But agree. Looks almost the same
@sucess-frame7476
@sucess-frame7476 4 жыл бұрын
How hard you stroke that key it's dying
@muhammadpro
@muhammadpro 5 жыл бұрын
2
@sharana2496
@sharana2496 5 жыл бұрын
Do a floating nav video.... There is no video clearly..
@bravenxd0
@bravenxd0 5 жыл бұрын
Hi
@JorgeDev92
@JorgeDev92 5 жыл бұрын
Express wth other name
@jorgeriveramx
@jorgeriveramx 4 жыл бұрын
10% Koa, 60% ejs templating, 30% other stuff.... This is not a course on Koa. And koa-json middleware is not making the response prettier, it is making it follow JSON format.
@tarcus6074
@tarcus6074 5 жыл бұрын
We need more frameworks which do same shit...Express the best, i don't need this koa crap.
@underscore4751
@underscore4751 5 жыл бұрын
Lol bruh its made by the developers behind express and why do u think they made this they aint stupid my man
@nromancarcamo
@nromancarcamo 5 жыл бұрын
Bad Ash tell us why? Express has already fixed any error it had.
@HelloWorld-ut2kl
@HelloWorld-ut2kl 5 жыл бұрын
Hey I Like Express, Koa, Hapi etc And I personally use Hapi.js it's simple and good
Pipenv Crash Course
15:40
Traversy Media
Рет қаралды 98 М.
Nuxt JS Crash Course
46:08
Traversy Media
Рет қаралды 227 М.
Genial gadget para almacenar y lavar lentes de Let's GLOW
00:26
Let's GLOW! Spanish
Рет қаралды 38 МЛН
Что будет с кроссовком?
00:35
Аришнев
Рет қаралды 1,9 МЛН
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 60 М.
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,7 МЛН
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
developedbyed
Рет қаралды 2,3 МЛН
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 619 М.
15 Web Developer-Related Career Paths
25:19
Traversy Media
Рет қаралды 121 М.
Deploy Websites In Seconds With Netlify
22:06
Traversy Media
Рет қаралды 224 М.
Gulp JS Crash Course
33:41
Traversy Media
Рет қаралды 178 М.
Big Tech AI Is A Lie
16:56
Tina Huang
Рет қаралды 50 М.
Node.js Ultimate Beginner’s Guide in 7 Easy Steps
16:20
Fireship
Рет қаралды 1,5 МЛН
Should You Test As A Web Developer?
11:00
Traversy Media
Рет қаралды 27 М.
iPhone 15 в реальной жизни
20:03
HUDAKOV
Рет қаралды 686 М.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 2 МЛН
Распаковка айфона в воде😱 #shorts
0:25
Mevaza
Рет қаралды 1,1 МЛН
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 16 МЛН