This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Sometimes you need to move your existing git repository | |
# to a new remote repository (/new remote origin). | |
# Here are a simple and quick steps that does exactly this. | |
# | |
# Let's assume we call "old repo" the repository you wish | |
# to move, and "new repo" the one you wish to move to. | |
# | |
### Step 1. Make sure you have a local copy of all "old repo" | |
### branches and tags. |