location_partner_af
v2.0.0
Published
## Build Status [](https://pipeline.vpc.starbucks.net/job/MyDaily/job/LocationPartnerAF/)
Readme
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 installto download and pull in the Event Hubs extension - Rename
local.settings.json.exampletolocal.settings.jsonand fill in with actual connection strings - Create a
.envfile - Open the
function.jsonfile underEventHubTriggerJSand make sure theeventHubNamevalue matches your actual event hub name - Run the sample with the following command:
func startUnit 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