Skip to content

Simple boilerplate for working with React, redux, react-router and Github Pages

License

Notifications You must be signed in to change notification settings

DmitriyWebDev/react-pages-boilerplate

 
 

Repository files navigation

React pages boilerplate

Cover This boilerplate introduces a simple way for developing serverless React applications, which are perfect for serving from Github Pages.

Technologies

Preinstalled and configured libraries

Getting started

  • Clone git clone https://github.com/rtivital/react-pages-boilerplate or download this repository.
  • Install dependencies: npm install
  • Run the project: npm start
  • Remove git folder with npm run clean:git (this will remove .git folder attached to react-pages-boilerplate) and follow these instructions to init new Github repository and enable publishing to Gihub Pages.

npm scripts

  • npm start – starts development server with webpack-dev-server
  • npm test – runs tape with babel-register
  • npm run build – builds project to production (Note that the result bundle is not suitable for hosting on Github Pages, use npm run deploy to build and deploy to Github Pages)
  • npm run deploy – builds and deploys project to Github pages
  • npm run lint – lints both JavaScript (with npm run lint:js) and Sass files (with npm run lint:scss)
  • npm run storybook – starts storybook server on port 9001

About

Simple boilerplate for working with React, redux, react-router and Github Pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 75.1%
  • CSS 23.5%
  • HTML 1.4%