Giter VIP home page Giter VIP logo

react-boilerplate's Introduction


React Boilerplate

React Boilerplate

The best boilerplate for your React projects.

PRs Welcome License MIT


Introduction

This boilerplate contains all you need to start your next React.js project. Simple, robust, well-organized, all you need to do is clone, install and you're ready to start.

Features

This boilerplate features all the latest tools and practices in the industry.

  • React — 16.7.0
  • Redux — State Management
  • 🛠 Babel — ES6 syntax, Airbnb & React/Recommended config
  • 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build
  • 💅 Bootstrap — Styles
  • Tests — Jest, React Testing Library
  • 💖 Lint — ESlint
  • 🐶 Husky — Prevent bad commits

Getting started

  1. Clone this repo using https://github.com/rcabarreto/react-boilerplate.git
  2. Move to the appropriate directory: cd react-bolt.
  3. Run yarn install to install dependencies.
  4. Run yarn dev to see the example app at http://localhost:1234.

Commands

  • yarn start - start the dev server
  • yarn build - create a production ready build in dist folder
  • yarn lint - execute an eslint check
  • yarn lint:fix - execute an eslint and fix the errors
  • yarn test - run all tests
  • yarn test:watch - run all tests in watch mode
  • yarn test:cover - coverage mode

Next features:

  • Hot Module Replacement: Better HMR support;
  • PWA: Turn into a PWA boilerplate;
  • SEO: SEO-ready;

License

MIT license, Copyright (c) 2018 Rodrigo Barreto.

react-boilerplate's People

Contributors

rcabarreto avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.