Simply shorten a URL and get a short link from the long url
- AWS Lambda
- API Gateway
- DynamoDB
- Chalice Framework
Create .chalice/config.json
$ cat .chalice/config.json
{
"stages": {
"dev": {
"api_gateway_stage": "api",
"environment_variables": { "APP_TABLE_NAME": "itsshort" }
}
},
"version": "2.0",
"app_name": "itsshort"
}
export APP_TABLE_NAME=xxxxxxxxxxxxxxxxxxxx