← Back to Portfolio

Project 4: A Serverless REST API

Building a highly scalable, cost-effective backend using Amazon API Gateway, AWS Lambda, and Amazon DynamoDB.


The Goal

The goal was to build a modern backend for a web or mobile application that requires no server management. The solution needed to be able to handle unpredictable traffic spikes, scale automatically, and be extremely cost-effective by only paying for requests as they occur.

The Architecture

I built a classic and powerful serverless pattern. The entire architecture is event-driven and fully managed by AWS.

Serverless API Architecture Diagram

Key components include:

The Test: Verifying Functionality

After deploying the API, I tested it using the `curl` command-line tool. I successfully sent a `POST` request to create a new item in the DynamoDB table and then used a `GET` request with the new item's ID to retrieve it, confirming the entire end-to-end workflow was fully functional.