Starter template with:
- Java
- Jersey
- ReactJS
- Reflux
- jQuery
- Lodash
- Babelify (react, es2015, stage-1)
- Browserify
- Gulp (dev+production build options)
- checkout from repo
mvn clean package
cd client
npm install
npm install -g gulp browserify
- 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
- 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