Skip to content

Example showing a (java)vertx.io Server with a react.js Client using WebSockets for Communication

Notifications You must be signed in to change notification settings

kairda/vertx_react_base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A most simple web-application with vertx and react.js

Building and running

npm install
npm install -g webpack

webpack

mvn clean package

java -jar target/vertxreactbase-1.0.0-SNAPSHOT-fat.jar

Open browser and point to http://localhost:8080

Running within an IDE

Run webpack in watch mode:

webpack --watch  --progress --colors --source-maps

Start the Server-Class with the following Command-line-Option:

isDevelopment

(this will prevent the bundle.js file to be cached)

You can edit the Javascript files and bundle.js is automatically rebuild. A simple reload in the browser shows the effect immediately.

About

Example showing a (java)vertx.io Server with a react.js Client using WebSockets for Communication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages