No description
  • C# 98.3%
  • Dockerfile 1.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-06 12:59:52 +00:00
.devcontainer feat: WIP game connection 2026-10-27 19:12:30 +01:00
Contracts feat: lobby notifications 2026-11-04 16:08:37 +01:00
Hubs feat: lobby notifications 2026-11-04 16:08:37 +01:00
Model feat: lobby map / mode selection 2026-11-02 15:06:24 +01:00
Properties feat: add hub in compose 2026-10-11 18:48:12 +02:00
Services fix: bound NATS requests with a cancellation token while disconnected 2026-11-05 11:48:35 +01:00
.env.example fix: fix .env.example 2026-10-13 11:34:05 +02:00
.gitignore Initial commit 2026-10-10 10:11:29 +00:00
appsettings.Development.json fix: remove database connection string 2026-10-13 11:31:04 +02:00
appsettings.json fix: patch appsetting.json with broker 2026-10-13 11:35:05 +02:00
Dockerfile feat: first version of hub 2026-10-10 18:17:39 +02:00
Lobby.csproj feat: add broker 2026-10-12 11:40:54 +00:00
nuget.config.example Initial commit 2026-10-10 10:11:29 +00:00
Program.cs fix: retry initial NATS connection instead of crashing 2026-11-05 11:11:30 +01:00
README.md Initial commit 2026-10-10 10:11:29 +00:00

/!\ You just created a new repo from this template :

This is a basic template for any new aspnet microservice in the terranaut project.

Before you start coding there is a few things you need to do :

.env.example

Copy the .env.example file to a .env file.

.devcontainer/compose.yml

To ensure proper functionability of the provided development envrionnement, you need to make sure the other runnig services will be able to see and connect to the dev container :

To do so, change the name of the service (here service_serv) to the exact same name of the service in the compose.yml in the main repo.

This will allow docker DNS resolution to work properly. Other running services that need to connect to this one (mainly the mesage broker and API gateway), won't be aware of the difference between the normal container and the dev container.

If you need to connect your dev container to other service than the message broker :

Feel free to add an external docker network to .devcontainer/compose.yml

nuget.config.example

Rename nuget.config.example to nuget.config. It should stay git ignored since it can contain your forgejo credentials.

Authentication

If your micro service will need Authentication run the following commands to download our Asymmetric Authentication package :

dotnet nuget add source --name Terranaut --username your_username --password your_token --store-password-in-clear-text https://forgejo.asventi.net/api/packages/Terranaut/nuget/index.json
dotnet add package --version 1.0.1 Terranaut.AsymmetricAuthentication

(this README isn't automatically updated so check the last package version).

service.csproj

If you want to rename your service, just change the name of service.csproj to {your_service}.csproj