This project was created purposed by being a RabbitMQ messenger example.
Project for RabbitMQ studying using Golang and Fiber
-
Install and run
- Install Docker, Docker compose
- Run Makefile
make run
-
Make sure is running
- Access the RabbitMQ interface in browser
http://localhost:15672/
-
Default login to rabbit is
guest
in both inputs (user and password) -
Go to Channels and check if the 2 services (sender and receiver) are connected
-
Go to queues and check if MessageService is instanced and is running.
-
send a request to sender
curl \ --request GET \ --url 'http://localhost:3000/send?msg=test'
- Enjoy the service.