Coder Social home page Coder Social logo

ok2ju / modern-react-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 298 KB

:collision::tada: Modern react+redux boilerplate :scream::smiling_imp::scream_cat:

License: MIT License

JavaScript 96.83% HTML 3.17%
boilerplate react-boilerplate starter react flow eslint babel-preset react-router jest enzyme

modern-react-boilerplate's Introduction

Modern React boilerplate

Toolset

Prerequisites

You should have node and yarn installed on your machine:

  • Node
  • Yarn: to install run npm install --global yarn

Getting Started

  1. Clone this repo
$ git clone https://github.com/ok2ju/modern-react-boilerplate.git && cd modern-react-boilerplate
  1. Install project dependencies
$ yarn install
  1. Run app (in dev mode) using following command:
$ yarn dev
  1. Visit http://localhost:8080

Available scripts

  • yarn dev - run app in dev mode
  • yarn build - build production-ready app
  • yarn lint - lint(validate) source code
  • yarn test - run tests

Varieties

This repository has two branches:

  • develop - basic react application boilerplate with minimum configuration
  • package/postcss - basic boilerplate with styles (postcss, css modules)
  • package/flowtyped-react - react boilerplate with flow - static type checker

Note: currently this branches have different dependencies versions. ๐Ÿ˜“ I will fix it later. For example develop branch has react-router v3 but package/flowtyped-react - react-router v4

modern-react-boilerplate's People

Contributors

ok2ju avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

modern-react-boilerplate's Issues

Add more packages

Enhance basic boilerplate:

  • branch with styles handling using postcss;
  • brach with inline styles;
  • branch with internationalization.
  • branch with redux-saga integration (high priority)

ESlint doesn't work via CLI

Command yarn lint actually doesn't lint source code. But webpack validate code correctly using eslint-loader.

Upgrade babili

Consider options:

  • Update babili to latest version;
  • Switch to uglifyjs-webpack-plugin.

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.