Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leguass7/guarita-whatsapp
Serviço para entrega de mensagem no whatsapp via MAXBOT
https://github.com/leguass7/guarita-whatsapp
bull ci-cd express github-actions redis typescript whatsapp
Last synced: 6 days ago
JSON representation
Serviço para entrega de mensagem no whatsapp via MAXBOT
- Host: GitHub
- URL: https://github.com/leguass7/guarita-whatsapp
- Owner: leguass7
- Created: 2022-02-19T21:27:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T01:00:08.000Z (9 months ago)
- Last Synced: 2024-02-07T01:43:01.756Z (9 months ago)
- Topics: bull, ci-cd, express, github-actions, redis, typescript, whatsapp
- Language: TypeScript
- Homepage:
- Size: 1.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# guarita-whatsapp
[![.github/workflows/deploy-ssh.yml](https://github.com/leguass7/guarita-whatsapp/actions/workflows/deploy-ssh.yml/badge.svg)](https://github.com/leguass7/guarita-whatsapp/actions/workflows/deploy-ssh.yml) [![.github/workflows/develop.yml](https://github.com/leguass7/guarita-whatsapp/actions/workflows/develop.yml/badge.svg?branch=develop)](https://github.com/leguass7/guarita-whatsapp/actions/workflows/develop.yml)
Serviço para entrega de mensagem no whatsapp via [MAXBOT](https://mbr.maxbot.com.br/doc-api-v1.php)
## Motivação
Estamos tendo problemas nas entregas de mensagens pelo servidor da AVATAR, está muito dificil depurar o motivo.
Precisamos de um servidor responsável apenas por essas entregas.---
### [Escopo do projeto](./docs/scope.md)
## Referências
- Actions Github
- https://hoohoo.top/blog/20210525232300-github-action-auto-ssh-to-host-and-excute-script/
- https://zellwk.com/blog/github-actions-deploy/
- https://firefart.at/post/using-mysql-service-with-github-actions/
- https://www.vultr.com/?ref=8956372-8H---
### Cron
[Cron generator](https://crontab.cronhub.io/)
```bash
# ┌──────────── minute
# │ ┌────────── hour
# │ │ ┌──────── day of month
# │ │ │ ┌────── month
# │ │ │ │ ┌──── day of week
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
``````javascript
// Repeat payment job once every day at 3:15 (am)
queue.add(paymentsData, { repeat: { cron: '15 3 * * *' } });// Every 5 minutes
queue.add(paymentsData, { repeat: { cron: '*/5 * * * *' } });
```