Skip to content

davisdre/azure-davisdre-linkshortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

davisdre linkshortner

using WSL on windows 11.

  1. created a azure function in VS code via Azure extension.
  2. create a azure sql database
  1. created azure function, shortner, via azure function extension. using HTTP trigger
  2. updated index.js template
  3. deploy function.
  4. test/run function in azure portal
  5. go back and install npm install mssql locally on your machine in your directory
  6. re-deploy function.
  7. add 'readme.md' to .funcignore to remove file from being uploaded to function.
  8. re-deploy function with latest files.
  9. add new application settings, 'SqlConnectionString', via azure functions extension tools
  10. create a API management service instances
  1. Update function.json to only do 'get' http triggers
  • re-deploy function with latest files.
  1. https://davisdrelinkshortner.azurewebsites.net/api/shortner?path=
Azure-function-url-shortner.-.Made.with.Clipchamp.mp4

Technologies used:

  • Azure Functions
  • Azure SQL Database

Notes:

Was going to use Azure API Management Service due to Azure Functions Legacy Proxy is legacy now and promote to use the new Azure API service, was having issues with getting that resolved, but still proud of what I setup and will go back adventually to get Azure API integrated.

About

Created a URL shortener.

Resources

Stars

Watchers

Forks