Code Monkey home page Code Monkey logo

react-redux-base's Introduction

React Redux Base

Simplest base setup for a react redux project.

React Version Redux Version Webpack Version

Sections

Getting started

  • Run npm or yarn install command:
npm install
yarn install
  • Run build command:
npm start

At this point, you will get a [Browsersync] message with Access URLs:. You can use the local url for desktop development or the external URL on any device contected to the same network.

Git Guidelines

Branching

We use two main branches: master and dev.

Master branch is a mirror of production. The only person allowed to merge into master is the project administrator.

Dev is the main branch used for development. This is where all the team’s work meet before merging into master, so everything here must be production-ready before merging into master.

You can use dev branch to develop and push your work there. Alternatively, using a personal branch is advised, especially if you are working on a patch or a feature outside the current sprint.

Committing

Normally, a single line commit is fine, but if you need a body for your commit message, separate the body from the subject with a blank line

  • The first line is treated as the subject of the commit and the rest of the text as the body. The blank line separating the summary from the body is critical (unless you omit the body entirely); various tools like log, shortlog and rebase can get confused if you run the two together.

Example:

[TITLE] Aim for 50 characters limit in your commit message subject. 72 is the hard limit.

[BODY] More detailed explanatory text, if necessary. Wrap it to about 72 characters or so.

Explain the problem that this commit is solving. Focus on why you are making this change as opposed to how (the code explains that).
Are there side effects or other unintuitive consequences of this change? Here's the place to explain them.

Further paragraphs come after blank lines.

- Bullet points are okay, too
- Typically a hyphen or asterisk is used for the bullet, preceded by a single space, with blank lines in between, but conventions vary here
  • Start your commit message capitalized
$ Awesome commit message
  • Do not end the subject line with a period

  • Use the imperative mood in the subject line:

    Imperative mood just means “spoken or written as if giving a command or instruction”

     $ Fix function x causing bug x
     $ Add feature x for to do function x

    This sentence can help you get the indicative mood:

    If applied, this commit will your subject line here

    For example:

     ✓ If applied, this commit will Fix SomeFunc function causing load crash
    
     ✗ If applied, this commit will Fixed SomeFunc function causing load crash

react-redux-base's People

Contributors

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