NestJs REST API with MongoDB #3 - Pipes, Validation Error and more

Поділитися
Вставка
  • Опубліковано 23 січ 2023
  • Final Code:
    github.com/ghulamabbas2/libra...
    Complete In-Depth NestJs UDEMY Courses:
    www.udemy.com/course/nestjs-b...
    ⚙️ Gadgets I use for Recording:
    💻 Laptop - Macbook PRO M1 - 16/512
    amzn.to/4eUqrSe
    🎤 MIC - Samson Technologies Q2U USB/XLR Dynamic Microphone
    amzn.to/3W9Z4wl
    🖱️Mouse - Logitech G402 Gaming Mouse Hyperion Fury USB, Black
    amzn.to/3RY4xUy
    ⌨️ Keyboard - Logitech K380 Multi-Device Bluetooth Keyboard
    amzn.to/3RY4Fn0
    🖥️ Monitor - UltraSharp 24-Inch Screen Led-Lit Monitor (U2419H)
    amzn.to/4bxidN6
    In this video, we will learn how we can handle errors, validation errors, how we can use pipes, and how we can handle mongoose ID errors in our NestJS API. In my previous video, I created a complete CRUD Library API.
    In this video, we will continue with that project and add the error handling and validations in this API in simple few steps.
    If you like this video make sure to subscribe and share, and stay tuned for more coding videos.

КОМЕНТАРІ • 15

  • @mahaburrahman1666
    @mahaburrahman1666 11 місяців тому

    Your teaching style is fabulous
    Thanks for something special tut 💚

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

    The third one! Well done man!

  • @abdulwaris5496
    @abdulwaris5496 Рік тому +1

    Awesome sir, Your way of teaching is very good for beginners very easy to understand your content

  • @Leet.Time.
    @Leet.Time. Рік тому

    Came here from your udemy shopit course it's a great and fun way to learn react. thankful for these kind of videos

    • @codingwithabbas
      @codingwithabbas  Рік тому +1

      Thank you Parikshith for your feedback, Glad you enjoy it!

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

    thanks bro, amazing content, nest is easy do this type of validations

  • @user-zw1ye3gv8o
    @user-zw1ye3gv8o 3 місяці тому

    Thank You☺

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

    This series is very helpful for me, sir please teach how to create custom pipes

  • @MuhammadIlyas-dr7eg
    @MuhammadIlyas-dr7eg 8 місяців тому

    Awesome Content Bro.. Please make a full clone project, Nest JS with production best practices. That is Sadqa Jaariya from your side.

  • @ashishkumari-yg4gn
    @ashishkumari-yg4gn Рік тому

    thanks

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

    if its optional you don't want to put IsString() there.

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

      If user enter any input then it should be string, otherwise user can leave it as it is optional.

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

      Yes. But optional means that u can choose to give it. If u add string to it then its not optional.

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

      @@KU10S Is optional to give it, but if you give it, should be string, is that simple.