my FastAPI demo (a simple URL shortener) is up and running

I say it’s simple, but it does have a couple of cool features. It tracks usage statistics like how many times the short URL has been used. And it provides the requester of a short URL with an admin key that can be used to retrieve usage stats and even delete the short URL.

I wrote this demo in Python using FastAPI. SQLite3 is used for persistent storage.

Test drive it here: https://www.timstewart.io/fastapi-demo-url-shortener/

Read the source code: https://github.com/timoteostewart/fastapi-demo-url-shortener

Leave a Reply