notifier/README.md
Untone f4d4fd26d4
All checks were successful
deploy / deploy (push) Successful in 1m21s
0.0.2
2023-11-26 14:54:07 +03:00

31 lines
834 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# notifier
### Что делает
- сохраняет тех, кому уведомления уже были отправлены (redis: authors-online)
- формирует дайджесты для остальных
- слушает Redis PubSub канал с обновлениями реакций
### Что НЕ делает
- не отправляет сообщения по SSE
- не определяет кому их отправлять
## Как разрабатывать локально
1 Читаем доки [strawberry](https://strawberry.rocks/docs/general/schema-basics)
2 Устанавливаем локальные хранилища
- Redis
- Postgres
3 Запуск локального сервера
```shell
poetry env use 3.12
poetry install
poetry run strawberry server main
```