Skip to content

gamebox-dev/gamebox-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameBox API

Standalone backend for the Gamebox app.

Requirements

Usage

Visual Studio

Open the gamebox.sln file in Visual Studio and build/run it there.

Command Line

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

Alternatively

Run it directly via dotnet run:

dotnet run

Environment Variables

IGDB

  • 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 and IGDB_CLIENT_SECRET environment variables.

Database

Place your MSSQLS connection string into an environment variable GAMEBOX_SQL_CONNECTION_STRING.

API Documentation

Running it in development mode results in the Swagger/OpenAPI documentation being available on /swagger.

About

API for managing a game collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages