You can build and test the demo project. Clone the project and run the demo from https://github.com/onehippo/hippo-demo-spa-integration.
Build and Run Hippo CMS Demo
Clone the repository, and build and run the Hippo CMS Demo project:
$ git clone https://github.com/onehippo/hippo-demo-spa-integration.git $ cd hippo-demo-spa-integration
Follow README.md to build and run either community edition or enterprise edition.
Run React Single Page Application Demo
Run React Single Page Application demo project locally:
$ cd hippo-addon-spa-integration/spa/react $ yarn install $ yarn start
The last command will launce your default browser navigating to http://localhost:3000/ automatically. The demo React app page will be shown there. The React app will consume Page Model JSON API at http://localhost:8080/site/resourceapi/.
Please follow README.md for more details.