kikoanis / react-isomorphic-bundle

React Redux Universal (isomorphic) bundle

Home Page:http://react.deliverwork.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Redux Universal (isomorphic) bundle

works badge Build Status Dependency Status devDependency Status Coverage Status Code Climate

=================

Learning from isomorphic-flux-boilerplate but use Redux.

DEMO

Demo site: react.deliverwork.co

Installation

$ npm install -g nodemon webpack babel@5 node-inspector
$ npm install

edit ./config/sequelize/config.json

change dialect from "postgres" to "sqlite" if you want a simple start. (You have to run npm install --save sequelize@3.4.0 to avoid datatime bugs.)

DEVELOPMENT

npm run dev (wait until the terminal shows: "webpack: bundle is now VALID".)

Press "Ctrl + h" to switch redux devtools

  • open http://127.0.0.1:3000
PRODUCTION
Build and run
  • Linux / Mac npm start

  • Windows (Git Bash) npm run prestart && NODE_ENV=production npm run win-start

Manual build

make build or make clean && make fast-build (clean up and rebuild all)

DEBUG

npm run debug

  • open http://127.0.0.1:8080/debug?ws=127.0.0.1:8080&port=5858
  • open http://127.0.0.1:3000

Features

  • based on React 0.14.*
  • universal(isomorphic), supported JSON Web Tokens (JWT) and Sessions (levelDB)
  • change flummox to redux
  • react-router@1.0.0
  • register (with recaptcha)
  • log in
  • Facebook sign in
  • restful API with JSON Web Tokens
  • change password
  • create posts
  • modify posts
  • delete posts
  • i18n / language switcher
  • Traditional Chinese and Simplified Chinese Conversion (New Tong Wen Tang)
  • files/images uploader (dropzone)
  • advertisement scripts support
  • Google maps with HTML5 Geolocation
  • Google maps with driving directions
  • post list with infinite scroll (use requestAnimationFrame)
  • post list with calendar
  • serverside async data-fetching (great thanks to universal-redux-boilerplate)
  • full text Search
  • image slider
  • admin pages (manage posts and users)
  • nearby map (PostGIS)
  • sitemap
  • static archive pages
  • testing suite
  • more ...

You might be interested in...

About

React Redux Universal (isomorphic) bundle

http://react.deliverwork.co

License:MIT License


Languages

Language:JavaScript 69.4%Language:CSS 30.3%Language:HTML 0.2%Language:Makefile 0.1%