https://github.com/morzhanov/serverless-example
Serverless example with NodeJS and AWS Lambda
https://github.com/morzhanov/serverless-example
Last synced: 4 months ago
JSON representation
Serverless example with NodeJS and AWS Lambda
- Host: GitHub
- URL: https://github.com/morzhanov/serverless-example
- Owner: morzhanov
- Created: 2020-07-13T09:24:44.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T03:19:05.000Z (over 2 years ago)
- Last Synced: 2024-12-30T04:19:03.243Z (5 months ago)
- Language: TypeScript
- Size: 360 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-example
Serverless example with NodeJS, AWS Lambda and DynamoDB
## Description
Simple AWS Lamda function:
- Updates DynamoDB table on POST requests
- Returns values from DynamoDB table on GET requests## How to run
- npm i
- npm run build
- npm run deploy## How to cleanup
- npm run remove
## How to use
- POST - https:///dev/users - register new user
- GET - https:///dev/users - list users
- GET - https:///dev/users/{id} - get a single user