Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 855 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 855 Bytes

jersey-react-reflux-starter

Starter template with:

  • Java
  • Jersey
  • ReactJS
  • Reflux
  • jQuery
  • Lodash
  • Babelify (react, es2015, stage-1)
  • Browserify
  • Gulp (dev+production build options)

Installation

  • checkout from repo
  • mvn clean package
  • cd client
  • npm install
  • npm install -g gulp browserify

Build

  • Development: gulp all
  • Production: gulp all --production
  • generates two js files: -- common.js - all dependecies (minified when run for production) -- app.js - application code from app/**/*.jsx files

Run

  • drop the jersey-react-reflux-starter-0.1.war (/target folder) in tomcat or other web container
  • open http://localhost:8080 in your favorite browser

Sample

Alt text