GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reactedge/platform: Modernise Magento storefronts one feature at a time, with independently developed and deployed React widgets.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

652 Commits
652 Commits

Folders and files

NameName
Last commit message
Last commit date
.agents/skills
.agents/skills
 
 
.codex
.codex
 
 
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
agent
agent
 
 
browser-mcp
browser-mcp
 
 
launcher
launcher
 
 
mcp
mcp
 
 
packages
packages
 
 
scripts
scripts
 
 
services
services
 
 
tests
tests
 
 
widgets
widgets
 
 
workspace
workspace
 
 
workspace.sample
workspace.sample
 
 
.env.sample
.env.sample
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
eslint.config.js
eslint.config.js
 
 
mise.toml
mise.toml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Welcome to ReactEdge

1. Clone the repository

git clone https://github.com/reactedge/platform ReactEdge
cd ReactEdge

2. Install Mise

ReactEdge uses Mise for tool version management and project tasks.

macOS

brew install mise

Linux / other platforms

Activate Mise for your shell by following the setup instructions shown after installation, or the official Mise documentation.

curl https://mise.run | sh

Verify:

mise --version

When you first enter the ReactEdge repository, Mise may ask you to trust the project's mise.toml:

mise trust

You can inspect mise.toml before trusting it.


3. Install ReactEdge dependencies

Install all project dependencies:

npm ci

4. Configure ReactEdge

Browser setup

From the repository root, start the local configuration UI:

mise run configure-ui

Or use npm run configure:ui if Node is already available. The UI itself needs no installed project dependencies. Open http://127.0.0.1:4173 in your browser.

  1. On a fresh clone, select Create new environment and enter a store code. To edit an existing configuration, select it from the list and click Load selected environment.
  2. Enter the Site URL and the absolute path to the platform root (for example, your Magento installation), then choose the environment and capabilities. If the site has a product catalog, provide an example SKU and category. Maps and reviews share one Google API key; reviews also need a Place ID.
  3. Click Review changes to inspect the workspace setup, allowed URL hosts, and files to change. The Site URL host is included automatically; local hosts are included in development. Add other domains only for absolute URLs used in widget contracts.
  4. Click Save configuration to write the files. This creates .env.<store-code>, the store workspace from workspace.sample, the global registry and release directory if missing, service environment files, and widget runtime JSON. The target workspace is created alongside the platform root.

Saving another store replaces the shared widget runtime JSON and services/ssr/.env. For a site without a catalog, disable widgets that require SKU and catalog services in the store registry before building. SSR port and public URL settings are retained in the configuration but hidden in this basic form while unused.

To run the configuration tests:

node --experimental-strip-types --test launcher/control-panel/configuration.test.ts

Existing script fallback

Keep using the existing interactive Bash setup while the browser workflow is being validated:

mise run configure

5. Magento integration

Change to your Magento or Mage-OS installation directory:

cd /path/to/magento

Update composer.json:

"minimum-stability": "dev"

Install the ReactEdge bridge:

composer require reactedge/widgetbridge

Enable the module:

bin/magento module:enable ReactEdge_WidgetBridge
bin/magento setup:upgrade

Install Magento layout integration

ReactEdge provides starter Magento layout files in:

widgets/integration/magento/

These files define where the ReactEdge widgets are mounted within the Magento storefront.

Copy:

widgets/integration/magento/*

to your active Magento theme:

app/design/frontend/<Vendor>/<theme>/Magento_Catalog/layout/

If your theme already contains one of these layout files, do not overwrite it. Merge the ReactEdge layout instructions into the existing file instead.

The supplied files are starter integrations and can be adjusted to change widget placement within your theme.

6. Launch a widget locally

For example:

mise run widget-dev -- productgallery

or:

mise run widget-dev -- megamenu

7. Deploy widgets

Build and publish the widgets:

mise run widgets-deploy


8. Configure integrations

Enable server-side rendering:

bin/magento config:set reactedge/widgets_ssr/enabled 1

9. Enable widgets

Enable the widgets you want to use:

bin/magento config:set reactedge/megamenu/enabled 1

bin/magento config:set reactedge/productgallery/enabled 1

bin/magento config:set reactedge/usp/enabled 1

Flush the cache:

bin/magento cache:flush

If the commands above fails, check that the module correctly installed:

bin/magento module:status ReactEdge_WidgetBridge

Inspect widget configuration:

bin/magento config:show reactedge/productgallery/enabled
bin/magento config:show reactedge/megamenu/enabled
bin/magento config:show reactedge/usp/enabled

10. Revert to Magento UI

Disable the widgets you don't want to use:

bin/magento config:set reactedge/megamenu/enabled 0

bin/magento config:set reactedge/productgallery/enabled 0

bin/magento config:set reactedge/usp/enabled 0

Flush the cache:

bin/magento cache:flush

11. Modify and redeploy a widget

Widget deployments use the contracts referenced by the workspace registry (see workspace/registry.json)

Open the workspace registry and identify the contract configured for the widget you want to modify.

Either update that contract or create a new contract and update the registry to reference it.

For example, change the Product Gallery presentation mode from "tile" to "gallery" in its contract.

Redeploy the widgets:

mise run widgets-deploy

Then clear the ReactEdge Magento cache:

bin/magento cache:clean reactedge

12. Project tasks

Mise is used as a task runner. The commands it executes are defined in mise.toml, with supporting scripts in launcher/scripts/, and can be inspected before running them.

Command Purpose
mise run configure Generates the local ReactEdge configuration
mise run widget-dev -- <widget> Starts a widget locally with Vite
mise run widget-build -- <widget> Builds a selected widget
mise run widgets-deploy Builds and deploys selected widget assets
mise run widget-test -- <widget> Runs tests for a selected widget

13. MCP server

ReactEdge provides an MCP server that exposes platform documentation and development tools to MCP-compatible clients.

Start the server with:

npx @modelcontextprotocol/inspector npx tsx mcp/server.ts default
npx @modelcontextprotocol/inspector npx tsx browser-mcp/server.ts default

About

Modernise Magento storefronts one feature at a time, with independently developed and deployed React widgets.

Topics

composable-commercefrontendheadless-commercemage-osmagento2micro-frontendsreactvite

Resources

Readme
License

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.