Skip to main content

Overview

The Backend Service provides REST and gRPC APIs for infrastructure management through Slack integration. The service handles user authentication, Slack events, and coordinates with the Agent Service for AI-powered responses.

Architecture

The Backend Service is built with:
  • Go - High-performance backend service
  • PostgreSQL - Data persistence and session management
  • gRPC - Communication with Agent Service
  • Slack Socket Mode - Real-time Slack integration

Service Endpoints

Authentication

The service uses multiple authentication methods:

Slack Authentication

  • Socket Mode Token - For real-time Slack connection
  • Bot Token - For Slack API operations

Database Authentication

  • PostgreSQL - Connection string with credentials
  • Session Management - User session tracking

Agent Service Communication

  • gRPC - Secure service-to-service communication
  • Internal Network - Services communicate over internal network

Data Models

Backend Entities

  • User - Slack user information and preferences
  • Channel - Slack channel configuration
  • Conversation - Message threads and context
  • Integration - External service connections