https://github.com/vitorebatista/react-advpl-example
Using React + ADVPL with TWebEngine
https://github.com/vitorebatista/react-advpl-example
advpl react websocket
Last synced: 5 months ago
JSON representation
Using React + ADVPL with TWebEngine
- Host: GitHub
- URL: https://github.com/vitorebatista/react-advpl-example
- Owner: vitorebatista
- License: mit
- Created: 2017-06-16T20:31:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T17:04:17.000Z (over 2 years ago)
- Last Synced: 2024-04-13T23:55:31.096Z (about 1 year ago)
- Topics: advpl, react, websocket
- Language: JavaScript
- Homepage: http://tdn.totvs.com/display/tec/TWebEngine
- Size: 482 KB
- Stars: 23
- Watchers: 4
- Forks: 11
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:3000Note: 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`

You will see something like this:
