Get started

Get OmniCore running

Three ways in, depending on what you want to do first.

The quickest start

With the .NET 10 SDK installed, from the repository's root, in PowerShell:

# The database, with a sample schema and development tokens
dotnet run --project OmniCore/OmniCore.Database --launch-profile OmniCore.Database

# Get a development token and ask who you are
$token = (Invoke-RestMethod -Method Post http://localhost:5080/api/dev/token `
  -ContentType application/json -Body '{"subject":"dev-admin"}').access_token
Invoke-RestMethod http://localhost:5080/api/me -Headers @{ Authorization = "Bearer $token" }

What to read next