Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/morzhanov/serverless-example

Serverless example with NodeJS and AWS Lambda
https://github.com/morzhanov/serverless-example

Last synced: 5 days ago
JSON representation

Serverless example with NodeJS and AWS Lambda

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