- GiantBomb API Key
- .NET Core 6.0 SDK
- Azure Functions Core Tools
- Azurite (blob service)
Create local.settings.json
in src/SpectabisService/
with contents of code block below. Make sure to replace <giantbomb-key>
with a valid GiantBomb API key.
{
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"ApiKey_GiantBomb": "<giantbomb-key>"
}
Alternatively, provide them as environment variables.
- Start Blob storage emulator
- Run
func host start --csharp -p 7071
atsrc/SpectabisService
You can run integration tests in Tests/ServiceTests
to make sure everything is configured correctly. Default settings for tests are pointed to localhost:7071
.
If test succeeds, Spectabis should connect to local service when built with debug configuration.