This project contains:
- A C++ backend server using ZeroMQ for high-performance messaging
- An Electron.js frontend that communicates with the backend via ZeroMQ
- CMake build system for the C++ backend
- Backend: C++ server using ZeroMQ (REP socket) listening on port 5555
- Frontend: Electron.js app using ZeroMQ Node.js bindings (REQ socket)
- Communication: Request-Reply pattern for synchronous messaging
- CMake 3.16+
- C++17 compatible compiler
- ZeroMQ library and C++ bindings (cppzmq)
- Node.js and npm
- ZeroMQ Node.js bindings (automatically installed)
-
Install Backend Dependencies:
- Windows: Use vcpkg to install
zeromqandcppzmq - Linux:
sudo apt install libzmq3-dev cmake build-essential - macOS:
brew install zeromq cppzmq cmake
- Windows: Use vcpkg to install
-
Build and Run Backend:
cd backend mkdir build cd build cmake .. cmake --build . ./backend_server # (or backend_server.exe on Windows)
-
Build REACT:
cd react-ui npm i npm run build -
Run Frontend:
cd frontend npm install npm start
Use the Command Palette (Ctrl+Shift+P) and run:
Tasks: Run Task→Build and Run Full Stackto start both backend and frontend- Individual tasks are also available for building/running components separately
- High-performance messaging via ZeroMQ
- Modern CMake build system
- Cross-platform compatibility
- Interactive Electron frontend with real-time communication