In this video we work on error handling to both avoid a catastrophic server crash and also to handle any errors that may occur with a particular end point in a custom way. We also look at logging both with Morgan and custom error logging. Finally, we have a quick look at validation. Error handling, logging, and validation combined is a best practice to ensure the server is running as expected and also provide important insights.
--------------------------------------------------
Recommended Udemy courses
--------------------------------------------------
NestJS - Zero to Hero: https://tinyurl.com/3rxsz669
Angular - The Complete Guide: https://tinyurl.com/4h5rmpsj
Understanding TypeScript: https://tinyurl.com/9wz6fp7k
React - The Complete Guide: https://tinyurl.com/2t6v5yeu
Docker Mastery (with Kubernetes + Swarm): https://tinyurl.com/yeymdnhn
Playlist: https://www.youtube.com/playlist?list=PL9_OU-1M9E_ut3NA04C4eHZuuAFQOUwT0
GitHub: https://github.com/Jon-Peppinck/linkedin-clone
Download
0 formats
No download links available.
NestJS Error Handling Logging and Validation Best Practices | NatokHD