Developing Flask-based Serverless Framework APIs

It’s day 2 of my Twenty Projects in Twenty Days series! Let’s look at how we can create a simple API using Python, the Flask Microframework, Amazon Web Services, and the Serverless Framework. This API will help us to manage three different entities:

  • Customers
  • Surveys
  • Responses (to the surveys)

We’ll be storing all this data inside of an Amazon DynamoDB table, making the API endpoints accessible with the Amazon API Gateway, and using AWS Lambda to interact with the DynamoDB table and manage our entities.

New Serverless Flask Guide

New Serverless Flask Guide

I just created a free new guide to using Flask and Python to create a text-message greetings API with AWS Lambda and SNS.

Creating Your First Python API with Flask

In this tutorial, we’ll use Flask to create an API that serves up historical weather data in the Seattle area. We’ll put together a very simple API using open weather data and finally, we’ll suggest a few modifications you could make to continue expanding and improving the functionality of your API.