How To: Build a Serverless API with Serverless, AWS Lambda and Lambda API

AWS Lambda and AWS API Gateway have made creating serverless APIs extremely easy. Developers can simply create Lambda functions, configure an API Gateway, and start responding to RESTful endpoint calls. While this all seems pretty straightforward on the surface, there are plenty of pitfalls that can make working with these services frustrating.

There are, for example, lots of confusing and conflicting configurations in API Gateway. Β Managing deployments and resources can be tricky, especially when publishing to multiple stages (e.g. dev, staging, prod, etc.). Even structuring your application code and dependencies can be difficult to wrap your head around when working with multiple functions.

In this post I’m going to show you how to setup and deploy a serverless API using the Serverless framework and Lambda API, a lightweight web framework for your serverless applications using AWS Lambda and API Gateway. We’ll create some sample routes, handle CORS, and discuss managing authentication. Let’s get started.

Continue Reading…

πŸš€ Project Update:

AlertMe: v1.11 released

v1.11 brings support for new embedded use cases, new button code options for publishers, and utm url tagging. Read More...
πŸš€ Project Update:

Lambda API: v0.1.0-beta released

I made a few changes to support empty response and automatic string conversion. There were some minor documentation updates as well. Almost ready for a stable version. 🎸 Read More...
πŸš€ Project Update:

Lambda API: v0.1.0-alpha released

This is the first initial release of this project. It's been in testing for quite some time, so I'm hoping to get some others using it to help debug and recommend features. πŸ€žπŸ˜€ Read More...

My new gig: Chief Technology Officer at AlertMe

Tomorrow I officially join the AlertMe team as their Chief Technology Officer. I’ve known about this company for quite some time, and I always loved the core concept. I’ve been helping them out here and there over the last few months, and I look forward to joining the team, just in time for BETA launch.


What is AlertMe?

AlertMe helps publishers connect directly with their readers in ways they never could before. It allows the reader to raise a hand to say: β€œKeep me updated on a story that matters to me… don’t make me hunt it down, or hope to randomly stumble upon it.” This helps creates loyal, regular readers, that return to the publisher’s site when new information is published.

Continue Reading…