A command-line tool for ingesting WhatsApp Evolution data from PostgreSQL to MongoDB and Hub events from MongoDB.
npm run dev
# PostgreSQL (WhatsApp Evolution)
PG_CONNECTION=postgres://user:pass@host:5432/db
# MongoDB (Analytics)
MONGODB_URI=mongodb://localhost:27017
# Hub MongoDB
HUB_MONGODB_URI=mongodb://localhost:27017
# Application
TENANT_ID=default
ENV_NAME=dev
NODE_ENV=development
ingest
- Import WhatsApp Evolution data from PostgreSQL to MongoDBingest-hub
- Import Hub events from MongoDB with time-based filteringhub-health
- Check Hub MongoDB connectivity and statusEdit filter configuration in src/evolution/filter.ts
to control import behavior.