URL Shortener UI in Python Flask
To setup the API on AWS, running on API Gateway, Lambda and DynamoDB:
To setup the UI on Python Flask (this codebase):
$ pip install -r requirements.txt
$ export TINY_API_URL=https://tiny-api.mydomain.com/create
$ export X_API_KEY=someRandomSecretKey09876543210
$ gunicorn -w 2 -b 0.0.0.0:8080 --access-logfile=/dev/stdout --error-log=/dev/stderr app:app