Learn Just Enough Zod to be Productive

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • Repository: github.com/TomDoesTech/just-e...
    0:00 Intro
    0:36: What is Zod?
    2:30 The basics
    7:40 Parsing
    9:07 Custom validation
    12:34 Enums
    In this video, we cover just enough Zod for you to start using it and be productive. Zod is currently being added to a lot of codebases and it will be in those codebases for a long time, so it's becoming increasingly important to be able to work with Zod.
    🌎 Follow me here:
    Discord: / discord
    Twitter: / tomdoes_tech
    Facebook: / tomdoestech​
    Instagram: / tomdoestech​
    TikTok: / tomdoes_tech
    ☕ Buy me a coffee: www.buymeacoffee.com/tomn
  • บันเทิง

ความคิดเห็น • 36

  • @irfansaeedkhan7242
    @irfansaeedkhan7242 2 หลายเดือนก่อน +1

    thank you in such short time so much details

  • @stanleychukwu7424
    @stanleychukwu7424 ปีที่แล้ว +2

    thanks bro.. lowkey been waiting for this course

  • @alexanderkomanov4151
    @alexanderkomanov4151 ปีที่แล้ว +2

    Thank you sir!

  • @rockNbrain
    @rockNbrain ปีที่แล้ว +2

    Great content dude ... thanks a lot !!

  • @norliegh
    @norliegh ปีที่แล้ว +2

    thanks tom! this is helpful.

  • @FudgeRaco
    @FudgeRaco ปีที่แล้ว +5

    You're just an awesome teacher.

  • @spellsaif
    @spellsaif ปีที่แล้ว

    Thanks sensei. Before I was always confused about zod. This video been very very helpful. Arigato!

  • @ajalasegun1
    @ajalasegun1 ปีที่แล้ว +1

    Great video! Thanks

  • @kiefer8101
    @kiefer8101 ปีที่แล้ว +1

    Quality content as always

  • @pawandeore6989
    @pawandeore6989 ปีที่แล้ว +1

    thanks bro for tutorials 🚀

  • @mohaniya15
    @mohaniya15 ปีที่แล้ว +1

    I am gonna enjoy this series

  • @developerpranav
    @developerpranav 8 หลายเดือนก่อน

    .refine is super cool! Thanks!

  • @nexxel
    @nexxel ปีที่แล้ว +3

    my most favourite features of zod would be transform and pipe

    • @TomDoesTech
      @TomDoesTech  ปีที่แล้ว +1

      Yeah, was thinking of doing a separate video on pipe

  • @roninspect4357
    @roninspect4357 8 หลายเดือนก่อน +1

    Quality content!!!

  • @David.McDonald
    @David.McDonald ปีที่แล้ว +2

    Love me some ZOD

  • @ThiagoVieira91
    @ThiagoVieira91 ปีที่แล้ว +3

    Who doesn't love Zod!? Superman I guess...
    Tom what do you think about using Zod in a full stack JS app? Would Zod be useful as source of truth for parsing and validating data on the front end and back end? Would it be useful to keep data consistency in a NoSql database? Just an idea.

    • @TomDoesTech
      @TomDoesTech  ปีที่แล้ว +2

      Yeah, it's super useful in a full stack app, especially if you can share schemas and types across the backend and frontend

    • @ThiagoVieira91
      @ThiagoVieira91 ปีที่แล้ว

      @@TomDoesTech I knew it! Gotta do it on my next app. Thank you! 🚀🚀

    • @wraithwinterly
      @wraithwinterly ปีที่แล้ว

      @@ThiagoVieira91 t3-app uses Zod for this reason

  • @user-ii9ic8fn7l
    @user-ii9ic8fn7l ปีที่แล้ว

    Great library, great video.
    Can you make one on how to auto generate swagger docs from typescript like nest does?

  • @prashlovessamosa
    @prashlovessamosa ปีที่แล้ว

    Can you make another part to explain remaining things that aren't covered in this video.

  • @eliyahutarab4862
    @eliyahutarab4862 11 หลายเดือนก่อน

    Amazing thank you for that can you create more in depth video in backend development using node typescript auth and more?

    • @TomDoesTech
      @TomDoesTech  11 หลายเดือนก่อน

      I have several on my channel

  • @samiullahsheikh5015
    @samiullahsheikh5015 ปีที่แล้ว

    Ca you please share your take on NestJS (Backend) framework?

    • @TomDoesTech
      @TomDoesTech  ปีที่แล้ว

      I don't like it

    • @samiullahsheikh5015
      @samiullahsheikh5015 ปีที่แล้ว

      I am reactJS developer with 1.5 years of experience and to go in backend development as well.
      For this, I have 3 options.
      Python/Django
      JS/NestJS or Fastify or Express
      Elixir/ Phenix
      Can you please give me some advice?

  • @drill5446
    @drill5446 ปีที่แล้ว

    Very productive type checker still don't know how to customize the output data

    • @TomDoesTech
      @TomDoesTech  ปีที่แล้ว

      What do you mean? Why would you want to customise the output data?

    • @drill5446
      @drill5446 ปีที่แล้ว

      @@TomDoesTech okay let's say we have multiple fields it returns a long array of objects. I have been trying to find a way to reduce the object just to get the path the error is coming from

    • @TomDoesTech
      @TomDoesTech  ปีที่แล้ว +1

      @@drill5446 Try safeParse, it will just return an object and not throw

    • @drill5446
      @drill5446 ปีที่แล้ว

      @@TomDoesTech Alright will do that thanks.

  • @dontscrollitt
    @dontscrollitt ปีที่แล้ว

    I cant run ts like you in vs code termainal

  • @NathanielBabalola
    @NathanielBabalola ปีที่แล้ว

    Thank you very much, I think you should turn off co-pilot during these tutorials, they are distracting