This project is a proof of concept (PoC) demonstrating Remote Procedure Calls (RPC) using RabbitMQ. The repository includes a structured monorepo setup with an RPC client and server, enabling communication via RabbitMQ message queues.
- Implements RPC Server & Client using RabbitMQ
- Uses
pnpmworkspaces for monorepo management
- Node.js (LTS recommended)
pnpmpackage manager- Docker & Docker Compose
Clone the repository and install dependencies:
git clone https://github.com/pr0m3th3usEx/rabbit-rpc-testing.git
cd rabbit-rpc-testing
pnpm installStart RabbitMQ and services using Docker Compose:
docker-compose up -dcd apps/rpc-server
pnpm devcd apps/rpc-client
pnpm dev.
├── apps/
│ ├── rpc-server/ # RPC Server implementation
│ ├── rpc-client/ # RPC Client implementation
├── packages/
│ ├── rabbitmq/ # RabbitMQ utility package
│ ├── eslint-config/ # Custom ESLint configuration
│ ├── prettier-config/ # Custom Prettier configuration
├── docker-compose.yaml # Docker setup for RabbitMQ
├── package.json # Root package manager file
└── pnpm-workspace.yaml # Monorepo workspace configuration
This project is licensed under the MIT License.
Contributions are welcome! Please follow the existing coding style and open an issue or pull request.
For any questions, feel free to reach out or create an issue in this repository.