React+GraphQL front-end starter kit. Universal: Browser + SSR.
- ReactQL CLI for quickly starting a new project
- React for UI
- Apollo Client (React) for GraphQL
- React Router 4 for declarative browser + server routes
- Redux for flux/store state management
- Webpack 2, with tree shaking
- PostCSS with next-gen CSS and inline @imports
- SASS and LESS support (also parsed through PostCSS)
- Full route-aware server-side rendering (SSR) of initial HTML
- Universal building - both browser + Node.js server
- Dev + React-compatible hot code reloading; zero refresh, real-time updates
- Built-in Koa 2 web server, with async/await routing
- HTTP header hardening with Helmet for Koa
- Declarative/dynamic
<head>
section, using react-helmet - Easily extendable webpack-config files
- Separate local + vendor bundles, for better browser caching/faster builds
- Dynamic polyfills, courtesy of babel-preset-env
- Aggressive code minification with Uglify
- GIF/JPEG/PNG/SVG crunching for images
- Gzip compression and serving of static assets as pre-compressed
.gz
files - ESLinting based on a tweaked Airbnb style guide
- Tons of commentary/documentation to fill you in on what's happening under the hood
See the CLI tool for easily deploying this starter kit on Mac, Windows or Linux.