https://github.com/anthonywritescode/azure-sample-application
sample flask app running in azure, provisioned with terraform
https://github.com/anthonywritescode/azure-sample-application
Last synced: 4 months ago
JSON representation
sample flask app running in azure, provisioned with terraform
- Host: GitHub
- URL: https://github.com/anthonywritescode/azure-sample-application
- Owner: anthonywritescode
- Archived: true
- Created: 2020-09-24T19:30:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-22T02:13:14.000Z (almost 4 years ago)
- Last Synced: 2024-08-13T07:08:40.488Z (8 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - anthonywritescode/azure-sample-application - sample flask app running in azure, provisioned with terraform (Python)
README
azure-sample-application
========================This is a small sample application using `flask` and deployed in azure
functions.To deploy, follow this [tutorial].
To test, you can visit both `/` and `/MyFunction` endpoints to verify that it
is working.The magic sauce that enables this is two parts:
1. extensions.http.routePrefix in host.json (removes the needed `/api`)
2. bindings[0].route in MyFunction/function.json (respond to all routes, not
just /MyFunction)[tutorial]: https://docs.microsoft.com/en-us/azure/developer/python/tutorial-vs-code-serverless-python-05