- Install Dapr and
dapr init - Open a terminal
tye run
- Attach a debugger to the process
- Open a terminal
docker-compose up -d --build
- http://localhost:5000: API Gateway
- http://localhost:5100: Identity Service / AuthServer
- http://localhost:5200: Event Service
- http://localhost:5300: Game Service
- http://localhost:5400: Payment Service
- http://localhost:5432: PostgreSQL
- http://localhost:6379: Redis (Cache & PubSub)
- http://localhost:9411: Zipkin
- http://localhost:9200: Elasticsearch
- http://localhost:5601: Kibana
Swagger endpoints are available for each service. For example, http://localhost:5200/swagger/index.html will show the Event Service API documentation.
- The general format of the endpoints is
{API_Gateway_URL}/{service}/api/1/{user_role}/{action}.
For example,http://localhost:5000/EventService/api/1/Admin/GetEventswill return a list of events. - The user role is used to determine the permission of the user. The available roles are
Admin,Player, andCounterPart. - List of SignalR endpoints:
{API_Gateway}/EventService/ws/PlayerNotification: for player notification{API_Gateway}/GameService/ws/QuizSession: for quiz session