Skip to content

vitorebatista/react-advpl-example

Repository files navigation

This is an example project that uses React and Advpl.

Installation

After cloning the repository, install dependencies:

cd <project folder>
npm install

Now you can run your local server:

npm start

Server is located at http://localhost:3000

Note: To allow external viewing of the demo, change the following value in webpack-dev-server.config.js

host: 'localhost'  //Change to '0.0.0.0' for external facing server

Now compile the Advpl file in your Protheus environment and run U_REACT

SmartClient

You will see something like this:

The magic