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:

Read the source code:

Leave a Reply