Learn how to effectively validate incoming requests in your Serverless framework projects using Middy middleware and the Joi library. In this tutorial, I'll walk you through step-by-step on how to improve your Lambda functions by validating request bodies, handling errors, and creating middleware to make your code more efficient and secure. By the end of this video, you'll have a strong foundation in using Middy and Joi.
Starter code: https://github.com/piotrmol/serverless-note-taking-app/tree/serverless-framework-lesson-3-starter
Final code: https://github.com/piotrmol/serverless-note-taking-app/tree/serverless-framework-lesson-3-final
00:00 Introduction
01:52 Creating middy middleware
04:26 Error handling middleware
Download
0 formats
No download links available.
Serverless Framework and Request Validation - Building Note-Taking App Part 3 | NatokHD