Giter Site home page Giter Site logo

react-airbnb-boilerplate's Introduction

React Airbnb Boilerplate

React Boilerplate following Airbnb's JavaScript (ES6) Style Guide.

Features

  • Simple index.html loading bundle.js.
  • Starter index.jsx for React.
  • All code following Airbnb's JavaScript (ES6) style guide with ESlint.
  • Webpack dev server with automatic reloading. Start with: npm start.
  • Deployment build with npm run build.

Components

  • Babel for ES6 support.
  • Chai as BDD / TDD assertion library.
  • ESlint for ES6 linting using Airbnb's JS style guide.
  • Mocha as test framework.
  • Nyc as test coverage.
  • React as front-end view library.
  • Webpack as module bundler.
  • SASS as CSS preprocessing.
  • Postcss for transforming styles with JS plugins.

Getting Start

Run the following commands in your terminal

git clone https://github.com/LucasBassetti/react-airbnb-boilerplate.git
cd react-airbnb-boilerplate
npm install
npm start

Then open http://localhost:8080/ on your web browser.

Testing

  1. Run npm test for simple test.
  2. Run npm run test:watch for watch tests.
  3. Run npm run test:coverage for test coverage. This will generate a coverage folder. Open the index.html file in this folder to check the results.

Deploying

For deployment, run npm run build and upload docs/ to your server.

License

MIT · Lucas Bassetti

react-airbnb-boilerplate's People

Contributors

lucasbassetti avatar mobilmike avatar

Watchers

 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.