Express Crash Course

Поділитися
Вставка
  • Опубліковано 6 лют 2025

КОМЕНТАРІ • 204

  • @siddharthbehra5250
    @siddharthbehra5250 4 місяці тому +15

    So for full 3 years, I was procrastinating learning Backend, and finally I saw this and thought to give it a try, I loved it, in just a weekend, I got the basic idea of how the backend works, I am going to buy a full course, and develop MERN applications, Thank you Brad! you are great

    • @zero3281
      @zero3281 2 місяці тому

      i was writing backend for few months without understanding and was procasting and now things are much clear

  • @ghaithalmalek724
    @ghaithalmalek724 10 днів тому

    "Thanks for this useful course! The information about Express and how the backend works is clear and comprehensive. The course seems very professional. Wishing you all the best!"

  • @haciendadad
    @haciendadad 17 днів тому +2

    So I wanted to re-learn Express then PostgreSQL, so I picked this video based on the title and then I saw that it was 1:46:10 in length, then I saw that it was from Traversy Media, and then I thought, I have to see it now because I know Traversy Media is quality! You can never go wrong with Traversy Media!

  • @muhammadfarooqi
    @muhammadfarooqi 4 місяці тому +4

    Oh my GOD.... you dare you to be so amazing!!!. I took NodeJs Crash course.. and made a whole scraper for 5 to 6 websites... which takes data using "RAW NODE JS" .. without express, it was hell of work. But I really like working from the scratch, so I really enjoyed.
    Now, this expressJS is super sweet to me..
    I have been pausing the video before any new thing.. try it myself and then let the video play..
    really loving it. ❤

  • @ultrasys
    @ultrasys 9 місяців тому +22

    I don't work with Node and don't have any plans to. However, I still watched the whole video just because 1) your effort; 2) your skills; 3) I always learn something from you - in this case, one of the things was the Postman extension. Sure I learned a bunch of other little cool stuff. During the video, I couldn't escape thinking about what drives you into making these videos with such a level of care. Amazing. Thanks a lot.

    • @GodsfavourIfidon-pv1yp
      @GodsfavourIfidon-pv1yp 6 місяців тому

      Pls i really want to ask a question since you have watched the full course, did he talk about JWT for authentication and authorization

    • @GIGI-999
      @GIGI-999 28 днів тому

      the glazing is crazy

  • @hmatpin
    @hmatpin 12 днів тому

    Traversy is definitely the best at explaining these tech stacks succinctly and effectively. I'm very grateful for your tutorials and your Udemy courses

  • @techwithjesus8263
    @techwithjesus8263 8 місяців тому +28

    Despite being a Senior DevOps Software Engineer, I always learn something new when Brad teaches. This crash course encapsulates the nuances of building an API, even if it’s a multi-billion dollar API. It all boils down to this basic concept. Thank you, Brad ❤

    • @the000gamer96
      @the000gamer96 8 місяців тому +1

      I wish I could get better at programming. No one ever has the right answer

    • @breakoutgaffe4027
      @breakoutgaffe4027 6 місяців тому +2

      ​@@the000gamer96there's almost always more than one right answer

  • @breakoutgaffe4027
    @breakoutgaffe4027 6 місяців тому +4

    The GOAT for long form programing courses

  • @Brent-The-Carpenter
    @Brent-The-Carpenter 8 місяців тому +11

    Thank you for taking the time to make these videos. Its crazy how much express cuts down on the boiler plate code. I went along with your Node.js video with the switch case etc to serve files which worked out to being around 55 lines of code, express accomplished the same functionalities in 7 lines.

  • @ajays6393
    @ajays6393 5 місяців тому +2

    Brad, your work is a gift for many aspiring and experienced developers alike. Thank you for all your hard work and for all that you give free of charge! I've had the benefit of several educators, such as yourself, and excellent resources like this over the years. That I am software engineer today has been made possible, in part, because of things like this. Keep up the good work!

  • @bmehder
    @bmehder 9 місяців тому +4

    You're the OG of UA-cam web tutorials. I'm a fan of your style of videos. Looking forward to what I assume will be a revamped Mongo crash course soon.

  • @ivanivanovik418
    @ivanivanovik418 9 місяців тому +23

    This videos coming out right when I'm learning React and Node.js/Express feels like it's heaven-sent!

  • @dee.s.4513
    @dee.s.4513 9 місяців тому +6

    Thanks for this great combo of a refresher and important pointers.

  • @IG7799-c4u
    @IG7799-c4u 9 місяців тому +6

    I just want to express my thanks for your hard work! Looking forward to watching this.

    • @lachieyoung1374
      @lachieyoung1374 9 місяців тому +5

      Ha. Express. Get it?

    • @saarza9991
      @saarza9991 8 місяців тому

      ​@@lachieyoung1374 fine fine you're cool 😂

  • @sonamtseringsherpa
    @sonamtseringsherpa 5 місяців тому +1

    Every single concept is explained nicely and easily. Loved it to the moon and back ❤

  • @gullychan
    @gullychan 8 місяців тому

    Quite new to your work and channel and currently operating a career switch to web dev. This content and the Node.js crash course are perfect! It is kind of overwhelming but hopefully after applying what I've learned here to my school project, I will understand it better. Thank you so much for such high quality and well delivered content! 🙏

  • @exploreinsixtyseconds
    @exploreinsixtyseconds 9 місяців тому +54

    dude is making mern stack course by dropping react , node now express js 👍

    • @prospermbuma
      @prospermbuma 9 місяців тому +4

      You made me realise that 😊

    • @kelsey_roy
      @kelsey_roy 9 місяців тому +3

      Do nestjs

    • @ssava_ema
      @ssava_ema 9 місяців тому +10

      now I expect MongoDB crash course dropping next

  • @moestaxx286
    @moestaxx286 9 місяців тому +3

    thanks for this man! needed the as i’ve been learning aws for about 5 months. just started coding again and need to get the rust of my shoulders!

  • @buraxta_
    @buraxta_ 7 місяців тому +1

    You're an awsome teacher!

  • @Jerementor
    @Jerementor 8 місяців тому

    love it Brad, thanks for this, very timely. Would love to see a deep dive on user auth and or working with sqlite db using express next!

  • @atigun64
    @atigun64 4 місяці тому +1

    this tutorial teached me much more than express, thanks alot!

  • @voboghure-dev
    @voboghure-dev 8 місяців тому +1

    Thanks, I am about to learn Node/Express and this is much helpful at this moment.

  • @ashishsng
    @ashishsng 7 місяців тому

    Thanks for making this. Wanted a crash course to revise my concepts and this helped a lot!

  • @xzex2609
    @xzex2609 2 місяці тому +2

    I can not believe how much useful stuff he covered in just 1:45 even template engines. without using express-generator

  • @dumbignorantfool2353
    @dumbignorantfool2353 Місяць тому

    I learned a lot, thank you! Advance Merry Christmas!

  • @aminumusa7190
    @aminumusa7190 9 місяців тому +2

    Thank Brad, I've long been waiting for this

  • @Ram-bz4qu
    @Ram-bz4qu 5 місяців тому +1

    Outstanding Express.js Crash Course ❤❤❤

  • @maxnicely8926
    @maxnicely8926 8 місяців тому +1

    At 1:36:00, you are just adding empty divs, then showing all posts, which looks correct because it kind of does same thing.

  • @md.anisurrahman9459
    @md.anisurrahman9459 14 днів тому

    Thank you for this wonderful crash course!

  • @korodhsoaqoon
    @korodhsoaqoon 9 місяців тому +2

    Thank you very much sir.... Your content is a GEM.

  • @prospermbuma
    @prospermbuma 9 місяців тому +3

    Thank you sir
    I have been waiting for this 🙌🔥

  • @SsaliJonathan
    @SsaliJonathan 9 місяців тому +1

    Thanks Brad. You are surely a blessing

  • @apexbytes
    @apexbytes 9 місяців тому

    Thanks for this I am learning NodeJS and ExpressJS now and this video is i need

  • @techaddictdude
    @techaddictdude 5 місяців тому +1

    Hey Brad, Codeium is exactly following your tutorial. When you mistakenly used ES modules instead of CommonJS, the Codeium first generated the export default posts; and then it changed it into module.exports = router; 🤣🤣

  • @kvelez
    @kvelez 6 місяців тому +1

    Excellent course, a Typescript or PHP version of the API would be amazing.

  • @muhammadans7071
    @muhammadans7071 9 місяців тому

    thanks a lot bro, i was requesting you on your last node js crash course for express crash course. it is superb amazing tutorial as usual

  • @vikasdfghjlYT
    @vikasdfghjlYT 9 місяців тому

    this revamp was much needed !!! Thank You so much

  • @atibyte
    @atibyte 8 місяців тому

    After learning Django and a bit of Laravel, Express seems so lightweight. I really like it. Thanks Brad!

  • @ABMA79
    @ABMA79 8 місяців тому +2

    Dear Brad, I am one of your subscribers and always find new things to learn whenever I watch you.
    I was wondering if there is a chance to make a website using javascript as a front-end and expressJS as a backend and it will be lovely if you can make it with authentication and sessions.
    I hope to see that courses coming up because you are among the best that can deliver information...
    Best regards

  • @mufty_codes
    @mufty_codes 4 місяці тому +2

    I noticed some things that I had to change to make my version of following this tutorial work.
    1. ENV
    If you're using node version below v20, you might notice that adding the env to the package.json doesn't work. i.e the `start: node --env-file=.env server.js`. Just iinstall and import the dotenv npm module.
    2. `req.body` returning undefined
    If you noticed that req.body is coming back as undefined, you need to add this line to your server.js "app.use(express.json());" just above your routes declaration.
    I'll be adding more.

  • @CodeClem
    @CodeClem 9 місяців тому

    Amazing course brad, would love if you would also make a crash course on Nest JS in the future.

  • @samlengngy5658
    @samlengngy5658 9 місяців тому +2

    Really good explanation. please have have a short course of nest js next time

  • @ajoypaul2247
    @ajoypaul2247 2 місяці тому +2

    18:44 Middleware is a function that runs in between the incoming requests and outgoing responses.

  • @okkaraung9512
    @okkaraung9512 9 місяців тому +1

    brad. Thank you for the video. Please do complete mern course. React, Node and Express. I will be looking forward to MongoDB course. Nextjs course too. Again thank you for these videos.

  • @hmkashifali9864
    @hmkashifali9864 2 місяці тому

    Thank you for this helpful crash course. 👍

  • @amosfigueira894
    @amosfigueira894 7 місяців тому

    Fantastic Brad, thanks for sharing

  • @Tech-x7c
    @Tech-x7c Місяць тому

    You are the MAN. Thank you

  • @MsDamilare
    @MsDamilare 14 днів тому

    Thank you for this great tutorial.

  • @tommysmith5479
    @tommysmith5479 2 місяці тому

    Really appreciate your videos. Thank you.

  • @th-mhmn
    @th-mhmn 6 місяців тому

    Great tutorial, very useful.
    I wish you also included database, too.

  • @shubhamjangid5936
    @shubhamjangid5936 7 місяців тому

    Good video and very informative for new learners

  • @KycasCat
    @KycasCat 9 місяців тому +2

    Hey Brad, pretty informative course, thank you. Wanted to ask about watching. --watch is not working on virtual environments such as vagrant (at least I could not make it working). I ended up using nodemon with polling. Maybe you have tested this feature with such environments?

  • @rahmatullahbizhan7796
    @rahmatullahbizhan7796 День тому

    very great tutorial, thank you so much.

  • @shubhamrathod9249
    @shubhamrathod9249 10 днів тому

    Thank you, Thank you, Thank you, Thank you, Thank you so much

  • @saiveerendra3885
    @saiveerendra3885 9 місяців тому

    Thank u so much please do one rust course end to end

  • @speedtnt7591
    @speedtnt7591 18 днів тому

    First of all thank you for your awesome tutorial.
    Will there be free RestfulAPI tutorial by NodeJS too?

  • @cloudagnostic
    @cloudagnostic 9 місяців тому

    Damn, Brad, I love you ✊🏾

  • @salahdidi8287
    @salahdidi8287 8 місяців тому

    Coming from the Laravel world, this feels like a huge downgrade, but this video is simply amazing for anyone looking to learn Express. Having knowledge in Laravel/Java made it easy for me to grasp the concepts. Thanks, mate

  • @satishprajapati6157
    @satishprajapati6157 8 місяців тому

    Can you create or Re-Vamp video on Go + Gin or any Go back-end framework please! Love your tutorial

  • @tylerarrigoni7700
    @tylerarrigoni7700 9 місяців тому

    Nicely done! Thank you!

  • @CvetaMobi
    @CvetaMobi 9 місяців тому

    Thank you for your labor!

  • @mnoker
    @mnoker 3 місяці тому

    Wow! I understood basically everything in your video. Thank you so much!
    also I have a question regarding the es module __dirname. Now in the video you used a work around method to solve this, but after Node version 20.11.0 the __dirname can be used with import.meta.__dirname or import.meta.__filename. Is this the same thing?
    Edit: Figured it out. const __dirname = import.meta.dirname works. for file name it is import.meta.filename

  • @gg.cip0t
    @gg.cip0t 9 місяців тому

    thanks for the video, its very good for the beginners.. i have a request, can you make a beginner friendly video on Clean Code ? about repositiory pattern ? I mean how can we implement to our Backend Typescript project ? I have watched other videoes but couldnt understand a bit.. since you are very good in teaching may be you can help ?

  • @lostinthenarrativve
    @lostinthenarrativve 9 місяців тому +5

    Hey man, any plans on a mongodb crash course too ?

  • @brandyn6124
    @brandyn6124 8 місяців тому +2

    Im trying to code along with this video, but at 36:00, I am getting this error whenever the req url is set to /posts/not-in-posts:
    TypeError: Cannot read properties of undefined (reading: 'id')
    Has anyone got the same thing and have a fix for this?

    • @brandyn6124
      @brandyn6124 8 місяців тому +1

      Oops, I figured out my issue...
      When I had hardcoded the posts array, I copied and pasted the json, but unbeknownst to me, there were extra commas between the objects.

  • @lesternielfong1513
    @lesternielfong1513 9 місяців тому

    Sakto! Thanks for this :>

  • @AkashPandya9
    @AkashPandya9 9 місяців тому +6

    Hey Brad, can't find the source code! (link in the desc seems broken). Also thanks a lot for the video❤

  • @eleah2665
    @eleah2665 9 місяців тому +1

    Hi Brad and thanks.

  • @codernerd7076
    @codernerd7076 9 місяців тому +2

    I worked with Express but got so tired of having to work for hours setup basic stuff like login/logout/forget password and so on, so I moved to the more active in development complete framework, Laravel, and it's working great!

  • @joscript7846
    @joscript7846 9 місяців тому +1

    When everyone praising Hono? Brad is pushing express back on it feet

  • @OCEMTechZone
    @OCEMTechZone 9 місяців тому +1

    Great Sir 🎉🎉

  • @abcdabcd8605
    @abcdabcd8605 7 місяців тому

    Amazing tutorial

  • @ar4be
    @ar4be 9 місяців тому

    Nice work, man! When we could expect your Laravel course?

  • @munib-z3j
    @munib-z3j 6 місяців тому

    thank you for your efforts

  • @ElCodingCowboy
    @ElCodingCowboy 8 місяців тому

    I think you can also get the dirname and filename now with ES6 modules by doing import.meta.dirname and import.meta.filename

  • @R8S6N
    @R8S6N 9 місяців тому

    is it better to use "node:path", instead of 'path'? And use it for all built-in methods just not to confuse with npm libs?
    Interesting your opinion.

  • @dev-akeel
    @dev-akeel 9 місяців тому

    I am very old subscriber of this channel and I remember the guy who was too young. But it has now been a long time that I haven't seen him. Where is he?

  • @prashantsiddhpura
    @prashantsiddhpura 22 дні тому

    i got error ......Cannot read properties of undefined (reading 'title') at 49:48

  • @AmnaCode
    @AmnaCode 8 місяців тому

    Thanks for sharing.😊

  • @user-ev4sq2io1c
    @user-ev4sq2io1c 4 місяці тому

    crazy good video all I can say

  • @tarekorabi7399
    @tarekorabi7399 3 місяці тому

    Awesome! Thanks a lot

  • @PaschalAOgba
    @PaschalAOgba 9 місяців тому +8

    I wonder is it only me or is there anyone else that favorite EJS over React?

    • @akhmadali5064
      @akhmadali5064 2 місяці тому +3

      i dont get the question, both have different purpose isn't it?

    • @ramlayassine4639
      @ramlayassine4639 Місяць тому +1

      those are two different things, you rather say 'i prefer backend than frontend'

    • @n_fan329
      @n_fan329 2 дні тому

      @@ramlayassine4639😂

  • @cosanostraytc1030
    @cosanostraytc1030 9 місяців тому +1

    Thank you very much Brad... Excellent tutorial as always. The github link is not working

  • @eliuddyn
    @eliuddyn 9 місяців тому

    Amazing 💥💥

  • @21Moudud
    @21Moudud 8 місяців тому

    Convenient to learn express

  • @ultronzeon1759
    @ultronzeon1759 6 місяців тому

    Please make a video on auto generating swagger docs for express, i tried it but i was not able to give any custom tags for the swagger docs , video on that would be helpful

  • @savageteam354k4
    @savageteam354k4 9 місяців тому

    hey men i really love the like your video it is deep and very helpful but right now i really struggle about file management like every time when i want to do some practice i always install react app again and again specially i am very confused by the installation of necessary files like nodemon , express ,node ,buble and run my file on terminal and like so on things really hard for me so can you make a tutorial video on how to handle files and folders, do we have to install every time when we want run our app or so many things please?!

  • @Brandcode-yq2wn
    @Brandcode-yq2wn 9 місяців тому

    Thank you very much ❤

  • @alireza5430
    @alireza5430 9 місяців тому

    thanks a lot ❤❤❤❤

  • @tahasoft1
    @tahasoft1 9 місяців тому +7

    The git repo link doesn't work

  • @shahbazjavedqureshi
    @shahbazjavedqureshi 9 місяців тому

    Hey Brad, I can't find the code on your github. Thanks for the great tutorial and wish you the best!

  • @muhammadfarooqi
    @muhammadfarooqi 4 місяці тому

    Remember: (i was having issue with post data, which was not posting).
    Always use middleware i.e.
    -------> app.use(express.json());
    -------> app.use(express.urlencoded({ extended: false }))
    before routes
    //Route's definition.
    -------> app.use('/api/posts', posts);

  • @mehdismaeili3743
    @mehdismaeili3743 4 місяці тому

    Excellent .

  • @ayanupadhaya944
    @ayanupadhaya944 9 місяців тому

    loved it...

  • @ericdelmermillen
    @ericdelmermillen 8 місяців тому

    Really would prefer the errors not be left in as I prefer to pause and try to complete the examples myself.
    The switching between common js and module js syntax, for example, caused Brad to make an error exporting which wasn't obvious until he saved, but since I was trying to complete it myself with his errors still in the code from following along, it was confusing.
    Errors being left in to illustrate a point is one thing but I don't get the sense that Brad is sprinkling in errors like easter eggs but rather that he is winging it at times and then not editing out his errors.

  • @mehradaj3881
    @mehradaj3881 6 місяців тому

    thanks brad

  • @m12652
    @m12652 9 місяців тому

    Thanks 👍

  • @ianfrye8988
    @ianfrye8988 9 місяців тому +1

    Can you do a revamp of NestJS??

  • @LongJourneys
    @LongJourneys 9 місяців тому

    Oh hey I've been meaning to review express, it's been a while

    • @aaratbatra4676
      @aaratbatra4676 9 місяців тому +1

      What kind of bot ahh comment this is!

    • @LongJourneys
      @LongJourneys 9 місяців тому

      ​@aaratbatra4676 I wish I was a bot...I wouldn't need a job or a place to live

    • @gradientO
      @gradientO 9 місяців тому

      You're talking like express changed a lot in recent years 😂

    • @Erlandas_
      @Erlandas_ 9 місяців тому

      @@gradientO wasnt it in maintainance mode, recomending users to use koajs, just a while back?

  • @argempusrecords
    @argempusrecords 8 місяців тому

    what if I want my routes to be "/about" instead of "/about.html" then i would have to create a dedicated route for each page, right?