Skip to content

ruanbekker/flask-url-shortener-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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