A simple URL shortener app using AWS Chalice

url-shortener-chalice

A simple URL shortener app using AWS Chalice.

Please make sure your to configure your AWS credentials before starting with deploying things onto AWS.

aws configure

Dependencies are included in the file:

requirements.txt

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

periodic-db-clean-up

Deployment steps:

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

Testing steps screenshots:

shorten-url

use_short_url_2

Teardown steps:

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

GitHub

https://github.com/rg666/url-shortener-chalice

 

 

 

To finish reading, please visit source site