TypeScript REST API (Pt 2) Error Handling Middleware, API Logging & More

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • In this video we're continuing with our TypeScript REST API. We're going to set up developer mode with hot reloading (nodemon), improve routing with async/await, add middleware to handle errors, set up app configuration (.env) & set up API logging (morgan).
    Hot reload (nodemon) - 1:12
    Improving routing - 3:50
    Custom API error handling middleware - 7:35
    App Configuration - 12:10
    API logging (morgan) - 19:10
    Full Code: github.com/kri...
    Code Difference from part 1: github.com/kri...
    Install NodeJS: nodejs.org/en/
    Install Docker: docs.docker.co...
    TypeORM: typeorm.io/#/
  • НаукаНаука

Комментарии • 12

  • @KrisFoster1
    @KrisFoster1  2 года назад +2

    Hot reload (nodemon) - 1:12
    Improving routing - 3:50
    Custom API error handling middleware - 7:35
    App Configuration - 12:10
    API logging (morgan) - 19:10

  • @solomonrajkumar5537
    @solomonrajkumar5537 Месяц назад

    this is excellent Kris!!! hats off... your so crispy and clean :)

  • @ogwurupatrick5641
    @ogwurupatrick5641 2 года назад +2

    This is a wonderful resource honestly!!

  • @yizhang3315
    @yizhang3315 2 года назад +2

    Nice one, keep it going dude

    • @KrisFoster1
      @KrisFoster1  2 года назад

      Thank you @Yi Zhang. Will be uploading the next two parts of this series today!

  • @daedricprinceofchaos1961
    @daedricprinceofchaos1961 2 года назад

    Thank you so much, this video series is really helpful!

  • @lebroncode
    @lebroncode Год назад

    Man nice video series. Keep up the good work.

  • @xXAtom11Xx
    @xXAtom11Xx Год назад

    Thank you for the tutorial!

  • @gandalfgrey91
    @gandalfgrey91 11 месяцев назад

    Great video but why do you use your mouse to select between applications? Use the keyboard!

  • @herbertk9266
    @herbertk9266 2 года назад +1

    Thank you

    • @KrisFoster1
      @KrisFoster1  2 года назад

      Glad you enjoyed @Herbert K!

  • @KrisFoster1
    @KrisFoster1  2 года назад

    Part 3 is uploaded now where we focus on request validation - ruclips.net/video/QR-oi1PCaZk/видео.html