williambrunos / azr-function-http-trigger-simple-example

This repository has the objective to store the necessary artifacts for examplification of the HTTP triggered azure functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About this project

This project has the goal to store the necessary artifacts to run a simple HTTP triggered azure function locally.

About function app

The azure function is a simple hello world function that will be ran locally on your computer.

How to run the function locally

Follow this documentation:

Create your first python function on azure functions

Azure functions python developer guide

  • Install azure core tools
  • Install azure functions extension
  • Run and debug python function (F5 on vs code)

How to run the function tests

After deploying locally the azure function, open another python terminal and run the following commands:

.\venv\Scripts\activate
pip install -r requirements.txt
cd tests/function_app_test
pytest http_example_test.py

About

This repository has the objective to store the necessary artifacts for examplification of the HTTP triggered azure functions

License:MIT License


Languages

Language:Python 100.0%