AMAUI AMQP
AMQP
MIT license
Production ready
100% test cov
Nodejs
Very simple code
Modern code
Junior friendly
Typescript
Made with :yellow_heart:
Getting started
Add
// yarn
yarn add @amaui/amqp
// npm
npm install @amaui/amqp
Use
import AmauiAmqp from '@amaui/amqp';
const amauiAmqp = new AmauiAmqp({
uri: process.env.amqp.rabbitmq.uri,
queues: process.env.amqp.rabbitmq.queues,
exchanges: process.env.amqp.rabbitmq.exchanges,
});
await amauiAmqp.channel;
await amauiAmqp.send('a', 'a');
await amauiAmqp.checkQueue();
Dev
One time local setup
Install docker and docker-compose
Make docker containers
yarn docker
Install
yarn
Test
yarn test
Prod
Build
yarn build
Docs
Might be soon...