React App(based on create-react-app)+Redux and React-Router Boilerplate with Material Design, Ant Design, Photonkit and NW App-shell
JavaScript Nginx HTML CSS
Permalink
Failed to load latest commit information.
config
public
scripts
src
.dockerignore
.eslintignore
.gitignore
CHANGELOG.md
README.md
README.react.md
package.json
yarn.lock

README.md

This project was bootstrapped with Create React App and customized a bit.

Features

How to use

First, you should clone the repo and install the dependencies.

$ git clone git@github.com:rhiokim/react-boilerplate.git <yourAppName>
$ cd <yourAppName>
$ npm install

Then, launch the boilerplate app.

$ npm start

You should see a new browser tap opening and a title of "React Boilerplate" in http://localhost:3000.

From there, you start to develop your own code in the src directory. When you finish coding, use npm run build to build the static files.

And you want to make the docker image with production files, use npm run deploy.

When committing your code, you should use AngularJS's commit message convention. Otherwise, the repo will throw an error. If you use npm run commit instead of git commit, the command will help you to produce a formatted commit message.

How to build

$ npm run build

Run test

$ npm test

Dockerize

$ npm run docker:build  // build image
$ npm run docker:run    // run container
$ npm run docker:rm     // remove running container
$ npm run docker        // run build, rm, run at once

Branch Structure

master
  \_ nw
  \_ material
  \_ ant-design
  \_ photon
    \_ photon-with-nwjs (photon + nw)
  \_ semantic-ui

Screenshot

  • with photon photon home
  • with material photon home
  • with ant-design photon home
  • with photon and nwjs photon home

License

MIT