Skip to content

Instantly share code, notes, and snippets.

View dfbq91's full-sized avatar
Learning, improving, creating!

Diego Betancourt dfbq91

Learning, improving, creating!
View GitHub Profile
dfbq91 / LambdaNodeCrud.js
Created October 2, 2020 16:06
Lambda Functions with Nodejs CRUD with DynamoDB
/* Here, there are GET, POST, PUT and DELETE implementations for Lambda functions with Nodejs CRUD using Dynamo DB.
Before the implementation using API Gateway, I used a passed parameter. This implementations are commented */
// GET doesn't change if we are using API Gateway
'use strict';
const AWS = require('aws-sdk'); // Load the AWS SDK for Node.js