Initial STEP 3 study game and questions API

This commit is contained in:
hz
2026-07-09 20:50:33 -05:00
commit 277076a245
51 changed files with 2671 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
# STEP 3 Arcade
Godot study game with a bundled ASP.NET Core Questions API.
## Local API
Run the Questions API:
```powershell
dotnet run --project api/QuestionsApi/QuestionsApi.csproj
```
For deployed environments, set these as environment variables:
```text
MongoDB__ConnectionString
MongoDB__DatabaseName
Jwt__Key
Jwt__Issuer
Jwt__Audience
```
Default local endpoint:
```text
http://localhost:5008/api/questions/search
```
The Godot client reads this from `project.godot`:
```text
step3/questions_api_url
```
## Push Build
`.github/workflows/questions-api.yml` builds and publishes the Questions API Docker image to GitHub Container Registry on pushes to `main`.
Set deployment hosting to consume:
```text
ghcr.io/<owner>/<repo>/questions-api:latest
```