Skip to content

benjaminkech/fit-bot-monitor

Repository files navigation

FITBOT Monitor

Build and deploy dotnet core app to Azure Function App - func-fitbot-prod-westeu-001

Azure Function for monitoring the gym API. As soon as a place is available, the function will send a notification with the CallMeeBot. The function is using Azure Durable Function with a Monitor orchestrator.

Run locally

Create a file local.settings.json with the content below.

  • The interval is set in minutes
  • Phone number with country code (+41)
{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",
    "FUNCTIONS_WORKER_RUNTIME": "dotnet",
    "AzureWebJobsSecretStorageType": "files",
    "GYM_API": "Api",
    "INTERVAL": "5",
    "USERS": "[{\"name\":\"Name\",\"userId\":\"Id\",\"callMeBotSettings\":{\"phone\":\"Phone\",\"apikey\":Key,\"messenger\":\"Signal\"}}]"
  },
  "Host": {
    "LocalHttpPort": 7072,
    "CORS": "*"
  }
}
```

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages