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/#/ - Наука
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
this is excellent Kris!!! hats off... your so crispy and clean :)
This is a wonderful resource honestly!!
Nice one, keep it going dude
Thank you @Yi Zhang. Will be uploading the next two parts of this series today!
Thank you so much, this video series is really helpful!
Man nice video series. Keep up the good work.
Thank you for the tutorial!
Great video but why do you use your mouse to select between applications? Use the keyboard!
Thank you
Glad you enjoyed @Herbert K!
Part 3 is uploaded now where we focus on request validation - ruclips.net/video/QR-oi1PCaZk/видео.html