Fastify Crash Course | Node.js Framework

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 297

  • @TraversyMedia
    @TraversyMedia  3 роки тому +96

    I would love to add on to this. If you followed along, take a look at the list of plugins - www.fastify.io/ecosystem/
    and reply with what you would want to see implemented. Auth, mongo/postgres/redis, cors, etc
    Maybe we could add a frontend as well

    • @gadgetkh9408
      @gadgetkh9408 3 роки тому +15

      Please make videos on Auth Passport JWT and some other security related core plugins. Thank you!

    • @rvndnishad
      @rvndnishad 3 роки тому +6

      Yes would love to see auth with backend action and frontend as well if it's not much to ask 👍👍👍👍

    • @pmig81
      @pmig81 3 роки тому +5

      Well, if i can add one more idea. Adding an authentication layer using Single Sign-On(SSO) using Auth0 :) We could even have some roles

    • @danieljie4721
      @danieljie4721 3 роки тому +4

      Would like to see Fastify with mecurius (GraphQL) or Fastify with mecurius & Prisma v2

    • @letscode-dev
      @letscode-dev 3 роки тому +3

      Yes, if possible please add authentication with mongodb.

  • @ChadThieleChaddeus
    @ChadThieleChaddeus 3 роки тому +25

    Would LOVE to see you take Fastify further - proper, secure auth, JWT, setting up Stripe, accepting payment/subscriptions, sending transactional email, and MongoDB.
    😊

  • @jatmikoherjati6348
    @jatmikoherjati6348 3 роки тому +14

    Finally, fastify gets some love, it deserves more popularity. My company uses it as standard nodejs framework, replacing express totally, for about one a half year.

    • @AlexanderSuraphel
      @AlexanderSuraphel 2 роки тому +3

      How is your experience one year later. Just coming to the node ecosystem and Fastify seems really great and very similar to FastAPI which I love.

  • @mesutkacmaz
    @mesutkacmaz 3 роки тому +75

    Web programming world, you're so fast and there's a lot to learn...

    • @DeViLTh0rn
      @DeViLTh0rn 3 роки тому +1

      agree, but I only get to know what they offers not immediately use them.. unless org/company ask me to do or client want specifically want it then I will use them.. quite exhausted if you want to catch them all especially JS framework that keep expand.. since Fastify not so much different with Express i still can catch them up..

    • @DeViLTh0rn
      @DeViLTh0rn 3 роки тому

      -A3n5N8XwpQ (youtube not allowed us to share a link here, so here is unique youtube id you can replace at the end of youtube url after watch equal sign) great advise from Ben Awad.. :)

    • @Hasnain1F
      @Hasnain1F 3 роки тому +10

      Stop chasing/learning tools. Keeping up to date with every new framework or library is a waste of time.

    • @kuldeepkumar_
      @kuldeepkumar_ 3 роки тому

      Yup there is a ocean of js frameworks now days

    • @bswill5077
      @bswill5077 3 роки тому +1

      Learn what you need and necessary. Dont learn it all. If you want a slow phase framework try .net or java. im pretty sure you will get stuck on editing bugs legacy apps for a long time lol

  • @hpn1427
    @hpn1427 3 роки тому +2

    I just want to say that we all appreciate your hard work, millions of people will stand by my side when I say this, you made us into better programmers and better people

  • @mahmoudabusaqer4585
    @mahmoudabusaqer4585 3 роки тому +4

    Great job, keep going, please do more with Fastify this is the 6th course that I took with you and now I am doing an internship as a node.js developer, I learned a lot from you man. I am looking to learn more from you. Thank you so much.

  • @liorocker1
    @liorocker1 3 роки тому

    I saw an intro to Fastify from one of the creators, but this crash course really made me take a look at this framework and get started my new nodejs projects using it. Thank you so much.

  • @godfreyndiritu9062
    @godfreyndiritu9062 3 роки тому +9

    Thank you so much for this one Brad. I can't imagine how hard you work just to keep you audience ahead.

  • @AnthonyJackman
    @AnthonyJackman 2 роки тому

    I have never seen anyone use the spread operator in any 'live' video tutorial. Watching that specific segment should assist anyone still not solid in its use (or use case) come away with a better understanding of it. Thank you!

  • @keshavpriyadarshi5044
    @keshavpriyadarshi5044 3 роки тому +3

    I want to thank you for what you taught us till now.

    • @TraversyMedia
      @TraversyMedia  3 роки тому

      No problem bud. Thanks for watching!

    • @divyangbargali1554
      @divyangbargali1554 3 роки тому

      @@TraversyMedia can u tell me how u learn things so fast. I can't learn things. They took years. Plz Brad help people.

  • @danielkimani5431
    @danielkimani5431 3 роки тому +1

    Fastify is amazing, it's decorator and plugin API is just underrated

    • @consoledoterror971
      @consoledoterror971 3 роки тому

      Have you worked with fastify-autoload for route handling?.

  • @gadgetkh9408
    @gadgetkh9408 3 роки тому +2

    Thank you. I've been searching for fastify videos for quite sometime!

  • @k.jflacko5720
    @k.jflacko5720 3 роки тому +6

    would love for part 2 where you implement a database. Thank You, this was a great tutorial!

  • @cauebooks1383
    @cauebooks1383 3 роки тому +1

    Please continue this series!!

  • @consoledoterror971
    @consoledoterror971 3 роки тому +3

    For those who want autocompletion.
    const fastify = require('fastify').default;
    const app = fastify({ logger: true });
    app.* => You will get autocompletion now

    • @AlexanderSuraphel
      @AlexanderSuraphel 2 роки тому +1

      Not all heroes wear caps! I kept reloading VSCode for a full minute. 😅

  • @jesseanderson7502
    @jesseanderson7502 3 роки тому +1

    Great tutorial. That HTTP extension is amazing.

  • @DonkBadonka
    @DonkBadonka 3 роки тому

    Oh man, I have watched only the first two minutes of the video and I already know I'm gonna learn a ton!! I watched your last React video and now I found this one and I'm so f happy!

  • @huxnwebdev
    @huxnwebdev 3 роки тому +4

    Huge Respect From A Small UA-camr Sir 💖
    Love Your Content 🖤

  • @reeeeeeee8392
    @reeeeeeee8392 3 роки тому +3

    Please do more fastify, i really do prefer it to express!

  • @richardkirigaya8254
    @richardkirigaya8254 3 роки тому +2

    A good alternative to REST client is Thunder Client. Every since i discovered this, i barely use PM unless am working in a large team with a lotta API endpoints. If am just testing an API to see the result, or post some data, i use Thunder client :)

    • @TraversyMedia
      @TraversyMedia  3 роки тому

      I just haven't had time to look more into it. I will though. I hear great things

  • @muhammadalirashed7330
    @muhammadalirashed7330 3 роки тому +1

    I'm a simple guy. I see brad's video, I hit a like

  • @novailoveyou
    @novailoveyou 3 роки тому

    Fastify is great! I like it a lot, actually planning on building my next project with Fastify on the backend

  • @benzigarjs8607
    @benzigarjs8607 3 роки тому +2

    We need more videos on Fastify 😍

  • @aarambhverma1550
    @aarambhverma1550 3 роки тому +4

    Thank you Brad for this course. You're a life saver! Loads of respect for you man :)

  • @rvndnishad
    @rvndnishad 3 роки тому +3

    Really nice tutorial, it will really help me getting started with fastify, please continue on this adding authentication and postgress or Mongo db

  • @uquantum
    @uquantum 3 місяці тому +1

    Thank you Brad for a useful vid covering CRUD with fastify. It may be 3 years ago that you published it, but yours was among the very best, - includes swagger docs (update for 2024 visitors: npm i @fastify/swagger and @fastify/swagger-ui). One of those videos that's so good, it helps to watch it twice all the way through!

  • @pedropalma3748
    @pedropalma3748 3 роки тому +11

    Thanks so much for the tutorial. I would like to see, as you suggested, adding a db to it, postgres would be great. Another idea for an expansion could be adding a frontend, using for example react-admin to manage these resources. I really liked your tutorial about react-admin as well. Thanks again, Brad

    • @TraversyMedia
      @TraversyMedia  3 роки тому

      No problem and thanks for the suggestions

  • @datajames
    @datajames 3 роки тому +2

    Hi Brad. I would def want to see more on Fastify, you could always add on 1 or 2 apis to show case some more advanced features of Fastify.
    Turn it into a speed guessing game if there is an api that generates random questions 🤪
    If a front end were to be added, make it very basic as to concentrate on Fastify and maybe other packages you'd like to add that works well along side Fastify.
    Data persistence you could write to the file system.

  • @conservativ724
    @conservativ724 Рік тому

    You explained very well how it works. Hello from Belarus :)

  • @VenkateshMogili
    @VenkateshMogili 3 роки тому

    One more crash course 😍😍😍 Thank you Brad❤❤❤ you are my greatest inspiration❤

  • @sachin_dev
    @sachin_dev 2 роки тому

    Loved this framework please make full fledge backend.

  • @rauldeandrade
    @rauldeandrade 3 роки тому +1

    Looks really cool. I hope you will explore it further with a small MFRN? project... or even just a backend focusing on CRUD and what are the cooler features of Fastify.
    I hope your health is improving. All the best to you and your kids. You're the best Brad!

  • @Middollo
    @Middollo Рік тому

    I got tired reading the docs, this worked great instead :) Thanks

  • @jasonreviews
    @jasonreviews 3 роки тому

    i was looking at fastly. thanks again brad for this free tutorial

  • @amani_art
    @amani_art 3 роки тому

    As always great tutorial Brad!
    I'm watching this and thinking to myself- Nothing beats rails.
    There are just way too much setup that I don't like.

  • @kedarkm457
    @kedarkm457 3 роки тому +1

    Thank you so much for the tutorial Brad :) most awaited one. Can you please make video on postgre sql with fastify

  • @r-i-ch
    @r-i-ch 3 роки тому +1

    Bring on the full-stack! Mongo + Auth!! Great tut as always...

  • @easyas-is
    @easyas-is 3 роки тому +30

    Wish that there will be nodejs+graphql crash course including authentication and pagination ya.

    • @mthaha2735
      @mthaha2735 3 роки тому +1

      See maxmillian. He has a great video on that

    • @easyas-is
      @easyas-is 3 роки тому

      @@mthaha2735 Really? Where can I check on his videos? Appreciate that

    • @johncarlobartolome754
      @johncarlobartolome754 3 роки тому

      @@easyas-is udemy and academind yt channel

    • @consoledoterror971
      @consoledoterror971 3 роки тому

      Ben Awad 14 hours YT course.

  • @PlotTwists
    @PlotTwists 3 роки тому +2

    I watch this as entertainment lol .. thanks Brad, high quality content as always

  • @ruirodrigues3725
    @ruirodrigues3725 3 роки тому

    Thank you for your well paced tutorial.
    I think you've missed some of the schema options in order to have a fully functioning Swagger. When you have a parameter you must add something like:
    params: {
    type: 'object',
    properties: {
    id: {
    type: 'string',
    description: 'item id'
    }
    }
    },
    In the update option the body is also missing.
    Regards.

  • @rahulprajapati8052
    @rahulprajapati8052 3 роки тому +1

    Thanks for making this useful tutorial. I really appreciate it. Please create one tutorial with redis and SQL database.
    I think you forgot to add schema for update items to accept name from swagger.

  • @MrTechhack
    @MrTechhack 3 роки тому +1

    Been waiting for this since i saw your tweet

  • @Elon40k
    @Elon40k 3 роки тому

    what an amazing tutorial. thank you so much brad for your shared wisdom. fastify is really cool! the swagger documentation pluigin is mindblowing.

  • @chinaaswai
    @chinaaswai Рік тому

    Thanks for this awesome crash course. Auth and Databases such as Postgress would be great to see on your next video

  • @canada_calling
    @canada_calling Рік тому

    Love Brad's videos. I am a bit late coming to this so there were some issues with using Swagger etc. with some updates since this was originally created. Not too difficult to make the necessary changes though. All in all a great resource. Thanks again.

    • @yesimhere7285
      @yesimhere7285 Рік тому

      Any hints of what you changed would be greatly appreciated. I can't seem to figure out what should be changed given the docs I've found. Thanks!

  • @MrDarkogaucho
    @MrDarkogaucho 3 роки тому

    Thank you very much, Master teacher of Web Development

  • @IfyDon
    @IfyDon 3 роки тому

    Thank you Brad, This was very helpful, looking forward to you doing Authentication and Data persistence with mysql. Also throw a few more light on Fastify decorators. Great work again!

  • @samfreshly5331
    @samfreshly5331 3 роки тому +1

    I’d love to see a fastify tutorial using typescript! I’m trying to learn them together for a job right now along with sequelize and Postgres

  • @mal3k395
    @mal3k395 3 роки тому +1

    More of Fastify 💙💙💙

  • @roodborstkalf9664
    @roodborstkalf9664 3 роки тому

    Excellent. please continue and create one or more additional Fastify videos.

  • @hustinjeffers1070
    @hustinjeffers1070 3 роки тому +1

    Thank you Brad, would love to see auth, postgres and mongo

  • @sergiocano9658
    @sergiocano9658 3 роки тому

    this crash course is awesome. I learned a lot. Thanks!

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

    Very usefull course. Please create course about Nest and Fastify.
    Thanks!

  • @iqbalwahyudi5645
    @iqbalwahyudi5645 3 роки тому +1

    Great video as always from this channel, would love to see fastify with postgres and jwt auth ❤️

  • @hasanfares5774
    @hasanfares5774 3 роки тому

    Really enjoying your content, I will be waiting for lesson 2 and up. Thanks.

  • @nishantverma1649
    @nishantverma1649 2 роки тому

    Hi Brad, great job. Love from india🇮🇳

  • @ankitgupta9155
    @ankitgupta9155 3 роки тому +2

    First Comment ❤️❤️❤️ Seen your insta post 😉😉

  • @myhanhnguyen5198
    @myhanhnguyen5198 Рік тому

    thank you a lot. your video helps me to understand about fastify. Please make videos on Auth Passport JWT and some other security related core plugins.

  • @manoellopes
    @manoellopes 3 роки тому +1

    Amazing video, bring more fastfy content please :)

  • @simonhall8421
    @simonhall8421 2 роки тому

    Really enjoyed this! Perhaps a full stack PFRN (PostgreSQL Fastify React Node) full-stack app tutorial at some point?

  • @shahinbayat
    @shahinbayat 3 роки тому

    Looking forward for a more advanced and practical fastify course with database connection.

  • @NeilTruick
    @NeilTruick 3 роки тому

    Excellent video! Thank you for putting things in such clear context...

  • @0xfsec
    @0xfsec 3 роки тому

    Awesome tutorial! Love more fastify tutorials, like building simple project with it..

  • @mrashad_com
    @mrashad_com 3 роки тому

    Great tutorial As usual, thank you very much for making me love Fastify

  • @saravana3534
    @saravana3534 3 роки тому +2

    Now, I realize that most of the tests available out there use huge amounts of requests, not just a single request. So I think I can come to a conclusion that fastify only handles a lot of requests faster than express but when it comes to a single request Express beats the shit out of Fastify.

    • @TraversyMedia
      @TraversyMedia  3 роки тому +2

      Yeah, there are pros and cons. I try not to say x is better than y. There are so many variables that go into each project. My job is simply to show the options and teach the technology

    • @saravana3534
      @saravana3534 3 роки тому

      @@TraversyMedia I appericiate all your videos Brad :), i love programming bcoz of you!!

  • @maelstrom57
    @maelstrom57 3 роки тому

    I'm definitely down for a follow-up!

  • @AdityaPrakarsa
    @AdityaPrakarsa 3 роки тому

    Great lesson as always Brad. Please do some auth with some database with Fastify. Thanks.

  • @haraldndb.1250
    @haraldndb.1250 3 роки тому

    Yeah - fastify is great! Keep up the good work Brad!

  • @neo-the-one
    @neo-the-one 3 роки тому

    Great job as always. This channel is truly a gem 💎

  • @muzafferhassan
    @muzafferhassan 3 роки тому

    Awesome video as always. Thanks for putting so much efforts to make it simple to understand. Please create it a bit more complex and attach it with some DB and authentication.

  • @weiyangxumo5671
    @weiyangxumo5671 Рік тому

    Very clear and useful! Thanks a lot!

  • @shloimiminkowicz4188
    @shloimiminkowicz4188 3 роки тому +1

    Hey Brad, thanks so much for making this awesome video. You made my day :) Also, it would be very cool to do a MERN stack course with justify . Thought it'll be really cool

  • @lupanama1960
    @lupanama1960 3 роки тому +1

    I like this, can you make it with typescript too for next video? I wonder the best project structure it would be for fastify when it comes with additional syntax

  • @edenr1988
    @edenr1988 3 роки тому

    Thanks for sharing this awesome framework! Great tutorial 👌

  • @troymitchel4790
    @troymitchel4790 3 роки тому +1

    Hey Brad, could you create a video discussing the new VSCode update "Do you trust the authors..." prompt and the best/proper way to handle this?

  • @niahi
    @niahi 3 роки тому +3

    Just here to say I would love to watch the mongoose version you mention at 8:05

  • @letscode-dev
    @letscode-dev 3 роки тому

    This is really helpful and nicely explained, thanks Brad. 👍

  • @pradipspeaks9395
    @pradipspeaks9395 3 роки тому

    Worth 40 mins. 🙏

  • @FawzyTat
    @FawzyTat 3 роки тому

    Hey man thanks again for your awesome tuts! got a small note though, using "Item" as model and route examples was a bad idea since I got confused it with the schema array items, not a big deal but confused me for few mins,

  • @sajjadhosenprovel2702
    @sajjadhosenprovel2702 3 роки тому

    well you can use thunder client vscode extension for the requests. it's like you've integrated postman into vscode. ui and functionality is almost the same.

  • @soniablanche5672
    @soniablanche5672 3 роки тому +1

    It would be interesting to see how you can do authentication with this library

  • @user-pi1mn3wb6r
    @user-pi1mn3wb6r Рік тому

    very clear course, thanks!!

  • @anirudhpanda4843
    @anirudhpanda4843 3 роки тому +1

    Lesgoooo ⚡⚡⚡

  • @MarkFreedmanNY
    @MarkFreedmanNY 3 роки тому

    Thanks, Brad. This was great.

  • @PabloGnesutta
    @PabloGnesutta 3 роки тому

    Hey Brad, thanks a lot. Didn't know this framework and seems promising.
    I would really love to see Middleware implementation, and maybe some authentication/authorization.
    Blessings from Argentina.

  • @marciobarroso
    @marciobarroso 3 роки тому +1

    I would love to see the implementation of security with jwt using typescript 😀

  • @MoawiaAlmardoud
    @MoawiaAlmardoud 3 роки тому +1

    Would please make another video with fastify-mongodb based on routes, controllers, and mode?

  • @jasonshen
    @jasonshen 3 роки тому

    Nice tut as usual, cheers for it👍

  • @zeroidandroid
    @zeroidandroid 2 роки тому

    thanks for the great video!
    in the updateItem method in the line:
    item = items.find...
    you forgot to declare a variable. the correct version should start with:
    const item = ...
    otherwise, a global variable will be created, this is bad in such great tutorial, because beginners in JS will look and repeat the same mistake.

  • @devaraj6691
    @devaraj6691 3 роки тому

    Please do a video on graphql with react and redux.. there is a lot of confusion like 1. when we using graphql is that necessary to use apollo client. 2. Apollo client is a replacement for Redux 3. Both apollo and redux can be used in same project etc pls clarify

  • @darkmift
    @darkmift 3 роки тому

    I'd love to see you take on something like storybook sometime 😃

  • @salisuusman639
    @salisuusman639 3 роки тому +21

    With traversy, who needs university? 😌

  • @RadioACtiveN3Rd
    @RadioACtiveN3Rd 3 роки тому

    MFRN is MERN with less lines ;) Fastify marketing team, go get't!

  • @bacon37460
    @bacon37460 3 роки тому

    Thanks Brad for this one.

  • @utubeshiv
    @utubeshiv 3 роки тому

    thanks. I would like to see authentication with role (RBAC) example, if possible please

  • @zedshockblade7157
    @zedshockblade7157 3 роки тому

    Please a video about Typescript and express. i see a lot of people adopting to it especially the class based structures with decorators.

  • @arsalanhussain6499
    @arsalanhussain6499 3 роки тому

    The videos awesome simple to understand and learn
    I would really like to see fullstack app with fastify using react with Authentication

  • @danieltkach2330
    @danieltkach2330 2 роки тому

    Beautiful. I'm going to check if you did more on Fastify. Nevertheless, please keep working on Fastify lessons, this looks really promising. I also watched bechmark videos and indeed Fastify is what I need for the volume of data my apps handle. Express is just too slow for my use-case. Thanks.

  • @jeffreyehogg
    @jeffreyehogg 3 роки тому

    Traversy is always hard at work!

  • @haans8
    @haans8 3 роки тому +1

    i think it would be complete if you add jwt or redis session for auth, and any sql for db