Skip to content

A simple and fully serverless API backend built with AWS. It uses API Gateway, Lambda (Node.js), and DynamoDB to handle requests without managing any servers. Ideal for small apps, prototypes, or production-ready APIs β€” with everything defined as code using Terraform.

Notifications You must be signed in to change notification settings

hongzz0618/aws-serverless-api-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧭 Repository Context

This repository is part of a modularization effort to separate each of the 8 most common AWS architectures into independent projects.
The code and resources here were extracted from a general repository that originally contained all 8 architectures, to improve clarity, maintainability, and reuse.

πŸ”— Original Repository – AWS Architectures Collection


πŸ”— AWS Serverless API Backend

This project shows how to build a serverless API on AWS.
It uses API Gateway, AWS Lambda, and Amazon DynamoDB to create a fully managed backend β€” no servers to maintain.


πŸ“ Architecture

AWS Serverless API Diagram

  • API Gateway β†’ HTTPS entry point for client requests.
  • Lambda (Node.js) β†’ Serverless functions that handle the logic.
  • DynamoDB β†’ NoSQL database to store and retrieve data.

βœ… Why This Pattern?

Feature Benefit
Serverless No infrastructure to manage
Scalable Automatically adjusts to traffic
Cost-efficient Pay only for what you use
Fast to deploy Great for MVPs, prototypes, and production APIs

🌍 Real-World Use Cases

  • Backend for mobile or web apps
  • Lightweight REST APIs
  • CRUD operations with DynamoDB
  • Microservices with minimal overhead

πŸ“¦ What’s Inside

  • Architecture diagram
  • Terraform code for API Gateway, Lambda, and DynamoDB
  • Example Lambda function (Node.js)
  • Deployment scripts

Demo Screenshots

Here are a couple of screenshots showing the deployed backend:

Demo Screenshot 1
Demo Screenshot 2 Demo Screenshot 3

About

A simple and fully serverless API backend built with AWS. It uses API Gateway, Lambda (Node.js), and DynamoDB to handle requests without managing any servers. Ideal for small apps, prototypes, or production-ready APIs β€” with everything defined as code using Terraform.

Topics

Resources

Stars

Watchers

Forks