api-handler
Use withApiHandler for all API routes. It eliminates boilerplate and ensures consistent auth, validation, and error handling.
Use withApiHandler for all API routes. It eliminates boilerplate and ensures consistent auth, validation, and error handling.