Fully isomorphic react starter project. Includes react-router and expressjs and uses webpack and gulpjs. ES2015 transformed through babeljs
Uses io.js to take advantages of ES2015
without --harmony
flag.
First, install nvm. Then run the following:
nvm install iojs
nvm use iojs
nvm alias default iojs
(to makenode
default toiojs
)
After that, clone the repo and install dependencies:
npm install
npm install -g gulp
gulp dev
Open your browser to http://localhost:8080
. Now, disable JavaScript in your browser. You will still be able to navigate between and see the content! This is the power of isomorphic javascript.
Script and style changes will be injected on the fly for automatic hot reloading. Development now becomes 100x more fun ❤
Running gulp build
will produce the following tasks:
- Concat & minify styles to
/dist/css/styles.css
- Concat & minify scripts to
/dist/js/app.js
- Optimize & copy images to
/dist/img/
- Incorporate Flux Architecture with Alt
- Add Bower for client-side package management
- Minimal Flux Sample
- Unit Testing and Linting as part of build process
- SMACSS + BEM for CSS Architecture
- Docker
- Productionize