Skip to content

Lambda functions for a serverless REST API utilizing API Gateway and DynamoDB

Notifications You must be signed in to change notification settings

Code-Fellows-Material/serverless-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS: API, Dynamo and Lambda

Overview

  • Create a serverless REST API, using DynamoDB, Lambda, API Gateway.

Model

    friend{
      name: string,
      phone: string,
      id: string
    }

Routes

  • /friend
    • GET
      • Parameters:
        • (none) will respond with an array of all friends.
        • (id) will respond with the friend info at that ID if it exists.
      • Body:
        • (none)
    • POST
      • Parameters:
        • (none)
      • Body:
        • (friend info in JSON format) will respond with new friend object.
    • PUT
      • Parameters:
        • (id) ((plus body))
      • Body:
        • (friend info to update in JSON format) will respond with updated friend object.
    • DELETE
      • Parameters:
        • (id) will respond with an empty object if successful
      • Body:
        • (none)

Errors: Server will respond with appropriate error message upon error.

UML

whiteboard

About

Lambda functions for a serverless REST API utilizing API Gateway and DynamoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published