๐Ÿš€ Myths of Earth: Space Trader Backend Showcase

Myths of Earth is a modular space trading simulation backend built using microservices with .NET. Designed for extensibility, the system models various gameplay domains like player data, missions, galactic systems, and ship management โ€” each encapsulated in an independent microservice.

๐Ÿงฑ Architecture Overview

This backend follows a clean service-oriented architecture:


[Frontend: Unity Game / Web App]
              โ”‚
         [ApiGateway]
   โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   โ–ผ       โ–ผ     โ–ผ            โ–ผ
[Auth] [Player] [Market] [Galaxy] ...
    

๐Ÿ“ฆ Microservices

ServiceDescription
ApiGatewayRoutes requests to backend services using YARP.
AuthServiceHandles authentication, login, and token issuance.
GalaxyServiceManages stars, systems, and planetary data.
MarketServiceControls in-game trading and economy simulation.
MissionServiceProvides missions and quest logic.
PlayerServiceStores player data, stats, and progress.
ShipServiceManages ships, their upgrades, and stats.

โš™๏ธ Technologies Used

๐Ÿงช Microservice Layout

Each service typically contains:

๐Ÿš€ Running the Project

You can run all services using Docker Compose:

# Start all services
docker-compose up --build
    

Or run a service manually for debugging:

# Example: Run AuthService locally
cd services/AuthService
dotnet run
    

๐ŸŽฏ Use Cases

๐Ÿ”š Conclusion

Myths of Earth offers a clean, modular backend ideal for simulation-style games. It balances technical separation with easy orchestration, making it a strong starting point for full-scale multiplayer space simulations.