Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vitorebatista/react-advpl-example

Using React + ADVPL with TWebEngine
https://github.com/vitorebatista/react-advpl-example

advpl react websocket

Last synced: about 1 month ago
JSON representation

Using React + ADVPL with TWebEngine

Awesome Lists containing this project

README

        

# [React-Advpl-Example](https://github.com/vitorebatista/react-advpl-example)

This is an example project that uses React and Advpl.

## Installation

After cloning the repository, install dependencies:
```sh
cd
npm install
```

Now you can run your local server:
```sh
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](http://i.imgur.com/HmBn1wK.png)

You will see something like this:

![The magic](http://i.imgur.com/rnF5sjc.png)