Nest.js REST API: CORS, Rate Limits, Server Logs, and Exception Filters
Offered By: Dave Gray via YouTube
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Complete your Nest.js REST API by implementing CORS, rate limits, server logs, and exception filters in this 50-minute tutorial. Learn how to set a global prefix, enable CORS, implement rate limiting, create a logger service, apply logging globally and to specific classes, and develop an all-exceptions filter. Explore additional topics such as logging errors, handling Prisma error types, and using the nestjs-prisma library. Follow along with the step-by-step guide to enhance your API's functionality and prepare it for deployment.
Syllabus
Intro
Welcome
Starter Code
Lesson Goals
Set a Global Prefix
Enable CORS
Rate Limiting
Create a Logger Service
How to Apply the Logger Globally
How to Apply the Logger to a Class
Create an All Exceptions Filter
Logging Errors
More Prisma Error Types
nestjs-prisma library
Wrap-up
Taught by
Dave Gray
Related Courses
AWS SimuLearn: Edge ProtectionAmazon Web Services via AWS Skill Builder Securing API Servers - Key Concepts and Best Practices
freeCodeCamp Securing your Network with Cloud Armor
Google via Google Cloud Skills Boost Rate Limiting with Cloud Armor
Google Cloud via Coursera Securing and Rate Limiting API calls using API Gateway
Google Cloud via Coursera