A simple implementation of a event delivery system (EDS) using RabbitMQ.
- Node.js v8+
- knex.js supported database (MySQL tested only)
- RabbitMQ 3.8+ with Erlang 23+
- RabbitMQ Delayed Message Exchange Plugin
- Setup a database
- Setup .env (see example below)
- Run
node ./utils/dev.js
(bootstart) - Run
npm run start
DB_TYPE=mysql
DB_HOST=localhost
DB_PORT=3306
DB_USER=
DB_PASS=
DB_NAME=
RABBITMQ_HOST=localhost
RABBITMQ_USER=
RABBITMQ_PASS=
DEBUG=0