0.1.5 • Published 5 years ago
lambda-http-handler v0.1.5
A simple, intuitive framework for creating serverless REST APIs
Serverless functions are a great way to give your application a back without having to pay for a server or worry about configuring and maintaining it. (i.e. Netlify functions, which inspired this framework!) However, the writing these functions requires a syntax and structure that I find far from intuitive, and overly verbose if you're trying to write a simple rest api server.
- Example code for a bad handler
I spent a lot of time trying to wrangle these handlers to do what I wanted with minimal code redundancy. Eventually, I thought "Hey why don't I just make this into its own framework?"
Here it is.