Standalone backend for the Gamebox app.
Open the gamebox.sln
file in Visual Studio and build/run it there.
Go into the gamebox
directory:
cd gamebox
Build the application:
dotnet build --configuration Release
Run the resulting application:
./bin/Release/net8.0/gamebox
The app should be available on localhost:5000 which can
be verified using the GET /hello
endpoint:
curl localhost:5000/hello
Run it directly via dotnet run
:
dotnet run
- Go to the Twitch dev console (https://dev.twitch.tv/) and #/#.
- Register a new application in the Applications section of the dashboard.
- Copy the client ID and client secret to the respective
IGDB_CLIENT_ID
andIGDB_CLIENT_SECRET
environment variables.
Place your MSSQLS connection string into an environment variable GAMEBOX_SQL_CONNECTION_STRING
.
Running it in development mode results in the Swagger/OpenAPI documentation being available on /swagger.