Git Product home page Git Product logo

slavent / react Goto Github PK

View Code? Open in Web Editor NEW

This project forked from werein/react

0.0 1.0 0.0 152 KB

Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: React | redux | babel6 | web pack | css-modules | karma | enzyme | express + optional: sass/scss | electron

Home Page: https://wereinhq.com/guides/react

JavaScript 98.16% CSS 0.50% HTML 1.34%

react's Introduction

React

Build StatusWindows Build Status Code Climate

Deploy

Start a new application easily with all necessary tools

  • React
  • Redux
  • Webpack
  • Babel 6
  • CSS modules
  • Redux Router
  • Redux DevTools
  • Eslint
  • Enzyme powered by karma w Mocha & Chai
  • Express

And optional (just install missing dependencies):

  • Sass/SCSS - npm i node-sass sass-loader --save
  • Electron - npm i electron-prebuilt --save-dev
  • Surge - npm i surge -g

Installation

git clone https://github.com/werein/react.git

Production

Current production size is 196kb and 54.6kb gziped.

Desktop version

This stack is pre-backed to be develop a desktop application.

  • Don't forge to install electron npm i electron-prebuilt --save-dev
  • Run dev server npm start
  • Run desktop application npm run desktop

The setup is completely the same, only difference is that it is not running in browser, but as desktop application.

Deployment

Surge.sh Prefered way

Simple, single-command web publishing. Publish HTML, CSS, and JS for free, without leaving the command line.

  • Don't forge to install Surge npm i surge -g
  • Run deployment command - npm run surge

Heroku

Heroku works out of the box, just use "deploy to heroku" button

Tools

This project works with ReduxDevtool extension for chrome. Read more

Keep it up to date

Track this repo

git remote add upstream https://github.com/werein/react.git

Rebase on the latest version

git fetch upstream
git rebase upstream/master

react's People

Contributors

jirikolarik 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.