Skip to content

ItsMrAkhil/starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter

Starter is a react ssr enabled starter kit (SSR | Universal | Isomorphic).

Build Status dependencies Status devDependencies Status

Features

  • HMR (Hot Module Replace) enabled (Even SSR Enabled) in dev mode (Cool as shit.)
  • React Hot Loader 4
  • React Router V4
  • React Redux
  • Redux Thunk
  • Express as Server
  • Server Side Rendering Enabled
  • Code Splitting using React-Loadable
  • 404 Error codes handling
  • No other view engines only JS (React) based view engine. Even on server side.
  • Auto restart ssr proxy server on code change.
  • ESLint for following better coding standards
  • Import static images inside JS. (file-loader)

Note: This starter is not for those who are new to React.js. In other words it is only for those who knows react well and who wants to create react apps with Server Side Rendering

Usage

Starter requires Node.js v6+ to run.

Clone this repo

$ git clone https://github.com/ItsMrAkhil/starter

Install the dependencies and devDependencies and start the server.

$ cd starter
$ npm install
$ npm start

For production environment

$ npm run start:production

For generators (Try this magic. It'll be cool)

$ npm run generate

Todos

  • Add Jest and Enzyme Testing (Need to add testing to all components)
  • Separate common webpack configurations from webpack config files. And use webpack merge to combine all with the base config (PR Welcome)
  • Make Reducers also lazy. Load reducers which are required for the particular route. (PR Welcome, Help required.)

License

MIT

Free Software, F##k Yeah!