microsservices is a dirty quick implementation of Event Driven Architecture using RabbitMQ, made for learning purposes.
- Provides a simple and quick way to understand Event Driven Architecture with RabbitMQ
- Demonstrates event publishing and subscription between microservices
- Easy to grasp and modify for learning and experimentation
-
Clone the repository:
git clone https://github.com/your-username/microsservices.git
-
Install the dependencies:
git clone https://github.com/your-username/microsservices.git
-
Start the microservices:
- Service A (Event Publisher):
node serviceA.js
- Service B (Event Subscriber):
node serviceB.js
-
Access the services:
- Service A: Open a web browser and visit
http://localhost:3000
- Service B: Check the console output for received events
The package requires RabbitMQ to be installed and running. Make sure you have RabbitMQ installed locally or provide the necessary configuration details in the code, such as hostname, port, username, and password, if RabbitMQ is running on a remote server. You can find instructions on how to install RabbitMQ here
Contributions are welcome! If you'd like to contribute to this microsservices package, please follow these steps:
- Fork the repository
- Create a new branch
- Make your changes
- Test your changes
- Submit a pull request
This package is licensed under the MIT License.