2.0.0 • Published 10 months ago

location_partner_af v2.0.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

LocationPartnerAF

Build Status

Build Status

Pre-requisites

  1. Have the Azure Functions core tools v2 installed
  • npm i -g azure-functions-core-tools@core
  1. Have the .NET Core 2.1 SDK installed

Getting started

  1. Clone the repo
  2. Open the folder (already has some settings optimized for VS Code with the Azure Functions extension)
  3. Run func extensions install to download and pull in the Event Hubs extension
  4. Rename local.settings.json.example to local.settings.json and fill in with actual connection strings
  5. Create a .env file
  6. Open the function.json file under EventHubTriggerJS and make sure the eventHubName value matches your actual event hub name
  7. Run the sample with the following command:
func start

Unit Testing

  1. 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