Coder Social home page Coder Social logo

amo-module's Introduction

amo-module

Модуль для синхронизации всех данных из amocrm в локальную postgresql базу.

todo

Пользовательский интерфейс:

  • Авторизация
  • Добавление интеграций
  • Метрики системы

Планировщик:

  • План синхронизации каждой сущности - раз в n секунд
  • Синхронизация удаленных сущностей - по разрывам в рядах id
  • Автозапуск задач на синхронизацию - cron и очереди

Фикстуры:

  • Смена тестового аккаунта раз в 2 недели
  • Фикстуры для наполнения аккаунта тестовыми данными

ci/cd:

  • docker-окружение
  • запуск шины на nodejs
  • запуск локального вебсервера

Резервное копирование:

  • Ежедневная резервная копия схемы средствами плагинов postgresql

Проксирующая шина запросов:

  • Группы запросов с выделенными лимитами на rps
  • Работа с мьютексами
  • Вынесение шины в отдельный пакет

Общее:

  • Координаты контактов, лидов, компаний, покупателей
    • Сохранение в отдельные поля
    • Возможность поиска через postgis

Синхронизация данных:

  • account
  • users
  • groups
  • custom_fields
  • pipelines
  • statuses
  • tasks
  • note_types
  • notes
  • task_types
  • contacts
  • companies
  • leads
  • customers
  • catalogs
  • catalog_elements
  • webhooks

Обработка вебхуков

  • lead
    • add_lead
    • update_lead
    • delete_lead
    • restore_lead
    • status_lead
    • responsible_lead
    • note_lead
  • contact
    • add_contact
    • update_contact
    • delete_contact
    • restore_contact
    • responsible_contact
    • note_contact
  • company
    • add_company
    • update_company
    • delete_company
    • restore_company
    • responsible_company
    • note_company
  • customer
    • add_customer
    • update_customer
    • delete_customer
    • responsible_customer
    • note_customer
  • task
    • add_task
    • update_task
    • delete_task
    • responsible_task
  • unsorted
    • add_unsorted
    • update_unsorted
    • delete_unsorted
  • messages?
    • add_message

amo-module's People

Contributors

rvkulikov avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.