Skip to content

wapgear/redux-react-material-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Isomorphic Redux App

build status

This project serves as a simple boilerplate to start building an isomorphic rendering application in React and Redux.

# Features
  • Async server-side rendering
  • Hot reloading middleware
  • Redux DevTools and Logging
  • Redux Routing
  • Reddit API example
  • Counter example
  • Todo example
  • Static content example

Stack

  • React.js
  • React-router
  • Webpack
  • Express
  • Redux
  • Redux-DevTools
  • Babel
  • Material UI

Development Installation

In the project's directory, run the following commands:

$ npm install
$ npm start

Then Visit

https://localhost:3002

Releasing to Production

Production has Devtools, logging and hot reloading middleware removed and the scripts/css compressed.

In the project's directory, run the following commands:

$ npm run build
$ npm run start-prod

Then Visit

https://localhost:3002

Run Test

npm test

Auth

Look at /src/common/api/user.js

You need to put token into cookie with name 'token' and check it into file via axios request.

Credit

Based on https://github.com/caljrimmer/isomorphic-redux-app

Theme by Material UI Lib https://github.com/callemall/material-ui