/url-shortener-chalice

A simple URL shortener app using Python AWS Chalice, AWS Lambda and AWS Dynamodb.

Primary LanguagePython

url-shortener-chalice

A simple URL shortener app using AWS Chalice.

N|Solid

Please make sure you configure your AWS credentials using AWS CLI before starting with deploying things onto AWS.

aws configure

Dependencies are included in the file:

requirements.txt

Do note the below chalice scheduler is configured to clean up the dynamo-db table entries every 24 hours. alt text

Deployment steps:

aws cloudformation deploy --template-file .chalice\dynamodb_cf_template.yaml --stack-name "url-shortner-stack"
chalice deploy

Testing steps screenshots:

alt text alt text alt text

Teardown steps:

chalice delete
aws cloudformation delete-stack --stack-name "url-shortner-stack"