2.0.0 • Published 10 months ago
location_partner_af v2.0.0
LocationPartnerAF
Build Status
Pre-requisites
- Have the Azure Functions core tools v2 installed
npm i -g azure-functions-core-tools@core
- Have the .NET Core 2.1 SDK installed
Getting started
- Clone the repo
- Open the folder (already has some settings optimized for VS Code with the Azure Functions extension)
- Run
func extensions install
to download and pull in the Event Hubs extension - Rename
local.settings.json.example
tolocal.settings.json
and fill in with actual connection strings - Create a
.env
file - Open the
function.json
file underEventHubTriggerJS
and make sure theeventHubName
value matches your actual event hub name - Run the sample with the following command:
func start
Unit Testing
- Unit tests are written using Jest. To run all unit tests, change your working directory to the project folder and run the following command:
npm run lint
2.0.0
10 months ago