An open API service indexing awesome lists of open source software.

https://github.com/mo7amedshaban/serverless-rest-api

Serverless REST API project using AWS Lambda, API Gateway, DynamoDB.
https://github.com/mo7amedshaban/serverless-rest-api

api-gateway aws cloud dynamodb frontend lambda nodejs rest-api s3 serverless

Last synced: 7 months ago
JSON representation

Serverless REST API project using AWS Lambda, API Gateway, DynamoDB.

Awesome Lists containing this project

README

          

# Serverless REST API Project

## Overview
This project implements a serverless REST API using AWS Lambda, API Gateway, and DynamoDB. It allows CRUD operations for managing simple items.

## Architecture
- **API Gateway:** Exposes REST endpoints.
- **Lambda Functions:** Handles CRUD operations.
- **DynamoDB:** Stores items.
- **S3:** Hosts frontend HTML/JS.

## Architecture Diagram
![Solution Architecture](Serverless_API_Architecture_Diagram.png)

## Setup
1. Install Serverless Framework: `npm install -g serverless`
2. Deploy: `serverless deploy`
3. Access API Gateway URL from deployment output.
4. Open `frontend/index.html` and update `apiUrl` with your API Gateway URL.

## AWS Services Used
- AWS Lambda
- Amazon API Gateway
- Amazon DynamoDB
- Amazon S3
- IAM Roles
- CloudWatch Logs

## Features
- Create, read, update, delete items.
- Serverless, auto-scaling architecture.
- Frontend to list items dynamically.