Getting Started
Titan is a distributed game backend built with Microsoft Orleans and .NET 10 for handling player trading, inventory management, and identity services for UE5 games.
Prerequisites
- .NET 10 SDK
- Docker (for CockroachDB)
- Node.js (for documentation only)
Quick Start
1. Restore Dependencies
.\restore.ps1
2. Start the Database
.\docker-up.ps1
This starts a 3-node CockroachDB cluster. Access the admin UI at http://localhost:8080.
3. Build the Solution
.\build.ps1
4. Start the Services
.\run-all.ps1
This opens 4 terminals, one for each service.
5. Access the API
- Swagger UI:
https://localhost:5001/swagger - Orleans Dashboard:
http://localhost:8081
Convenience Scripts
| Script | Purpose |
|---|---|
build.ps1 | Build all projects |
clean.ps1 | Clean all build artifacts |
test.ps1 | Run integration tests |
restore.ps1 | Restore NuGet + npm dependencies |
run-all.ps1 | Start all 4 services |
docker-up.ps1 | Start CockroachDB cluster |
docker-down.ps1 | Stop CockroachDB cluster |
docker-reset.ps1 | Reset database (deletes data) |
Next Steps
- Architecture Overview - Understand the microservices design
- API Reference - Explore REST endpoints
- Deployment Guide - Deploy to production