Simple Web API with one endpoint returning random google search image url
Clone the project
git clone https://github.com/hogwashpz/HappyQuotes-webapi
Check if you have .NET 6 SDK installed (6.0.100-rc.1 at time of writing)
dotnet --list-sdks
From Google Developer dashboard obtain ApiKey and Custom Search EngineID and set them in BuildAndRun.bat
Then in solution root execute
BuildAndRun.bat
GET /api/images/random
GET /swagger