Source code for short URL implemented in Azure Static Web App. There are 2 main folders here that contains source code for Azure Functions and Azure Static Web App.
Detailed description can be found in my Medium post: Create Your Own URL Shortener & Host in Azure (Almost Free for Cloud Infrastructure)
Here's the component to implement.