RealTimeChat-gRPC
Tech Stack: Golang, gRPC, MongoDB, Docker, Protocol Buffers
GitHub: RealTimeChat-gRPC
Overview
Production-ready real-time chat service built with Go and gRPC bidirectional streaming for low-latency 1-on-1 messaging.
Key Features
Real-Time Communication
- Built scalable, low-latency chat service using gRPC bidirectional streaming
- Persistent real-time messaging with connection management
- Efficient message delivery and acknowledgment
Data Persistence
- MongoDB persistence layer with optimized indexes
- Efficient message storage and retrieval patterns
- Modular repository pattern for clean architecture
Security & Middleware
- gRPC interceptors for authentication and authorization
- Rate limiting to prevent abuse
- JWT secret rotation for enhanced security
- TLS/mTLS encryption for secure communication
- Protocol Buffers managed with Buf toolchain
DevOps & Testing
- Containerized with Docker Compose (including MongoDB)
- Comprehensive unit and integration tests following TDD practices
- GitHub Actions CI/CD pipeline
- Production-ready deployment configuration