8000 GitHub - ShepleySound/serverless-api
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ShepleySound/serverless-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless API

This repository holds code for a serverless API. Each lambda* directory holds code for an AWS Lambda function for automatic deployment from GitHub.

Documentation

The lambda functions are written in a microservice format, each handling a single CRUD function for a DynamoDB table. They use AWS DynamoDB DocumentClient to work with table items in an abstracted manner.

Root URL

https://vo26vdx2l7.execute-api.us-west-2.amazonaws.com/

Routes

  • /customers

    • GET
    • POST
      • Supply a body to the HTTP request in this format -
        {
          "customerid": "12345abc" [REQUIRED],
          "name": "yournamehere",
          "purchaseCount": 100
        }
  • /customers/{id}

    • GET
    • PUT (Supply a body without the "customerid" attribute)
    • DELETE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0