Skip to content

AI-at-Work/Sync-Backend

Repository files navigation

Sync-Backend

A Synchronization worker for Chat-Backend. It takes data from redis streams and update it in postgres database to maintain database and cache consistency.

System Flow Diagram

System Flow Diagram

Services

Getting Started

  1. Clone the repository:

    git clone https://github.com/AI-at-Work/Sync-Backend
    cd Sync-Backend
  2. Copy the .env.sample to .env and configure the environment variables:

    cp .env.sample .env

    Edit the .env file to set your specific configurations.

  3. Start the service:

    docker compose up -d --build

Configuration

Key configuration options in the .env file:

  • DB_*: PostgreSQL database configurations
  • REDIS_*: Redis configurations

Refer to the .env.sample file for a complete list of configuration options.

About

A Synchronization worker for back-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published