URL Shortener UI in Python Flask
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static/js
templates
Dockerfile
README.md
app.py
boot.sh
docker-compose.yml
requirements.txt

README.md

flask-url-shortener-ui

URL Shortener UI in Python Flask

Blog Post

To setup the API on AWS, running on API Gateway, Lambda and DynamoDB:

To setup the UI on Python Flask (this codebase):

Running Standalone:

$ 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