Skip to content

dariobanfi/react-avocado-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

48 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

React Avocado Starter

Build Status Greenkeeper badge

Simple yet full of energy, like an Avocado! ๐Ÿฅ‘

About

This is a react boilerplate which aims to be as simple as possible, while providing many useful features as SSR and fast developmenet iteration.

This project is derived from react-universally.

Features

  • ๐Ÿ‘€ react as the view.
  • ๐Ÿ”€ react-router v4 as the router.
  • ๐ŸŒ Server Side Rendering.
  • ๐Ÿš„ express server.
  • ๐Ÿ’… Styled Components for CSS.
  • ๐ŸŽญ jest as the test framework.
  • ๐Ÿ’„ Airbnb's ESlint configuration + Stylelint for Styled Components.
  • ๐Ÿ˜Ž Progressive Web Application ready, with offline support, via a Service Worker.
  • ๐Ÿ˜ Long term browser caching of assets with automated cache invalidation.
  • ๐Ÿ“ฆ All source is bundled using Webpack v2.
  • ๐Ÿš€ Full ES2017+ support - use the exact same JS syntax across the entire project, both server and client code
  • ๐Ÿ”ง Centralised application configuration with helpers to avoid boilerplate in your code. Also has support for environment specific configuration files.
  • ๐Ÿ”ฅ Extreme live development - hot reloading of ALL changes to client/server source
  • โ›‘ SEO friendly - react-helmet provides control of the page title/meta/styles/scripts from within your components.
  • ๐Ÿค– Optimised Webpack builds via HappyPack and an auto generated Vendor DLL for smooth development experiences.
  • ๐Ÿ‘ฎ Security on the express server using helmet and hpp.
  • ๐Ÿœ Asset bundling support. e.g. images/fonts.
  • ๐ŸŽ› Preconfigured to support development and optimised production builds.
  • โœ… Fully compatible with MacOS, Linux and Windows

Getting started

git clone https://github.com/dariobanfi/react-avocado-starter 
cd react-avocado-starter
npm i
npm run develop

WINDOWS Users: The project binds the dev server to 0.0.0.0 but this doesn't work for Windows. To fix this, create a file called .env.development.local under the project root and add the following line:

HOST=127.0.0.1

Personal TODO

  • 100% Coverage
  • Remove warnings and noise
  • Add redux
  • Make application a bit nicer
  • Update npm deps
  • codecov

About

๐Ÿฅ‘ Opinionated Offline-first & Universal React Starter Boilerplate built from my experience

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published