Files
pos-system/services/chat-service-net
Ho Ngoc Hai f3779c4ebe docs: add SERVICE_DOCS.md for all 24 microservices from per-service code audit
Each SERVICE_DOCS.md documents: Overview, API Endpoints, Commands, Queries,
Domain Model, Database Schema, Integration Events, Dependencies, Configuration.
Generated by 23 parallel audit agents reading actual source code.

Key corrections from audit:
- inventory-service: 12 commands/6 queries (was listed as scaffold)
- promotion-service: 12 commands/10 queries (was listed as 0)
- mission-service: 4 commands/7 queries (was listed as 0)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 17:54:53 +07:00
..

Chat Service

Real-time chat service with End-to-End Encryption (E2EE) for GoodGo platform.

Documentation / Tài Liệu

EN: English Documentation
VI: Tài liệu Tiếng Việt

English Vietnamese
Architecture Kiến trúc
Quick Start Bắt Đầu Nhanh
API Reference API Reference

Tech Stack

  • .NET 10 - Core framework
  • ASP.NET Core SignalR - Real-time communication
  • PostgreSQL 16+ - Message persistence
  • Redis 7+ - Backplane & caching
  • E2EE with X3DH - End-to-end encryption

Key Features

  • 🔒 End-to-End Encryption - X3DH key exchange, AES-256-GCM
  • 💬 Real-time Chat - SignalR with WebSocket/SSE/Long Polling
  • 🤖 AI Integration - Smart chatbot with streaming responses
  • 📱 Multi-device - User mapping across devices
  • 🚀 High Performance - MessagePack protocol

Development

# Restore dependencies
dotnet restore

# Build
dotnet build

# Run
dotnet run --project src/ChatService.API

Docker

docker build -t chatservice:latest .
docker run -p 5000:8080 --env-file .env chatservice:latest

License

Proprietary - GoodGo Platform