Skip to content

Repository files navigation

RL Platform

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

Architecture

  • 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

Prerequisites

For C++ Backend:

  • CMake 3.16+
  • C++17 compatible compiler
  • ZeroMQ library and C++ bindings (cppzmq)

For Electron Frontend:

  • Node.js and npm
  • ZeroMQ Node.js bindings (automatically installed)

Quick Start

  1. Install Backend Dependencies:

    • Windows: Use vcpkg to install zeromq and cppzmq
    • Linux: sudo apt install libzmq3-dev cmake build-essential
    • macOS: brew install zeromq cppzmq cmake
  2. Build and Run Backend:

    cd backend
    mkdir build
    cd build
    cmake ..
    cmake --build .
    ./backend_server  # (or backend_server.exe on Windows)
  3. Build REACT:

    cd react-ui
    npm i
    npm run build
  4. Run Frontend:

    cd frontend
    npm install
    npm start

VS Code Tasks

Use the Command Palette (Ctrl+Shift+P) and run:

  • Tasks: Run TaskBuild and Run Full Stack to start both backend and frontend
  • Individual tasks are also available for building/running components separately

Features

  • High-performance messaging via ZeroMQ
  • Modern CMake build system
  • Cross-platform compatibility
  • Interactive Electron frontend with real-time communication

Link to Demo

Watch the Demo video

About

Visual Node scripting language for training machine learning/reinforcement learning models

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages