Initial project structure

This commit is contained in:
2026-07-20 16:44:23 +02:00
commit c19fde4126
27 changed files with 4679 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
import * as amqp from "amqplib";
export class Rabbit {
connection!: amqp.ChannelModel;
channel!: amqp.Channel;
async connect(){
this.connection =
await amqp.connect(
"amqp://manager:gigi1337@192.168.1.74"
);
this.channel =
await this.connection.createChannel();
console.log(
"RabbitMQ verbunden"
);
}
}