Work in progress "deploy yourself" URL shortner written in Rust for running on Azure Functions.
- POST URL and return random shorted
- POST URL with shorted string specified (named)
- Redirect
var.show/<ID>
to full URL
- PUT URL (update)
- Administration
Press the above button.
Or, do it manually with the Azure CLI and the provided azuredeploy.json
ARM-file:
# create resource group for the resources
az group create --location westeurope --name varshow
# create the resources and passing the appName
az group deployment create -g varshow --template-file azuredeploy.json --parameters appName=varshow
In this example we name both the resource group and the function app varshow
.
Other parameters you can pass when creating the resources are:
serverFarmId
(override if you want to use a pre-existing App Service plan)dockerImage
(default isvarianter\varshow:latest
, override if you want to use another image)