All Projects → djizco → react-boilerplate

djizco / react-boilerplate

Licence: MIT license
A Simple React Boilerplate for Web Apps. Uses React, Redux, Webpack, Hot Reloading for JS and CSS, Testing, and more.

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to react-boilerplate

mern-boilerplate
A Full MERN Stack Boilerplate for Web Apps including a local authentication system. Uses React, Express.js, MongoDB, Redux, Passport.js, Webpack, Testing, and more.
Stars: ✭ 211 (+1072.22%)
Mutual labels:  ramda, bulma
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (+116.67%)
Mutual labels:  eslint, ramda
eslint-config-kingstinct-react-native
Eslint configuration for React-native based on Airbnb with some great tweaks
Stars: ✭ 23 (+27.78%)
Mutual labels:  eslint
webpack-4-react-bootstrap-starter-template
Starter boilerplate template for webpack 4 with React, Bootstrap 4
Stars: ✭ 16 (-11.11%)
Mutual labels:  eslint
wxapp-boilerplate
微信小程序开发脚手架 (ES6, Redux, Immutable-js, Async/await, Promise, Reselect, Babel, ESLint, Stylelint, Gulp ... )
Stars: ✭ 35 (+94.44%)
Mutual labels:  eslint
eslint-plugin-layout-shift
ESLint plugin to force responsive media elements to set the width/height attributes
Stars: ✭ 15 (-16.67%)
Mutual labels:  eslint
theme-bulma
🎈 Customization of Oruga components with Bulma CSS framework
Stars: ✭ 88 (+388.89%)
Mutual labels:  bulma
generator-node
🔧 Yeoman generator for Node projects.
Stars: ✭ 16 (-11.11%)
Mutual labels:  eslint
eslint-config-hardcore
The most strict (yet practical) ESLint config. 34 plugins. 1047 rules.
Stars: ✭ 168 (+833.33%)
Mutual labels:  eslint
eslint-plugin-tailwind
ESLint rules for Tailwind CSS
Stars: ✭ 97 (+438.89%)
Mutual labels:  eslint
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (+66.67%)
Mutual labels:  eslint
react-js-boilerplate
A React + Redux + HOT + Webpack + Material-UI + Sass boilerplate
Stars: ✭ 14 (-22.22%)
Mutual labels:  eslint
vue-bootstrap-boilerplate
📦 Vue 2/3, Bootstrap 5, Vuex, Vue-Router, Sass/Scss, ESLint, Axios (switch to vue3 branch)
Stars: ✭ 86 (+377.78%)
Mutual labels:  eslint
template-react-ts
A React template with typescript, styled-components, prettier, eslint, axios and react-router-dom
Stars: ✭ 29 (+61.11%)
Mutual labels:  eslint
eslint-plugin-ban
Ban some methods and functions
Stars: ✭ 23 (+27.78%)
Mutual labels:  eslint
eslint-plugin
autofix some errors reported by eslint rules.
Stars: ✭ 74 (+311.11%)
Mutual labels:  eslint
eslint-plugin-react-hook-form
ESLint plugin for react-hook-form
Stars: ✭ 27 (+50%)
Mutual labels:  eslint
eslint-config-website
GUI for generating ESLint configs
Stars: ✭ 45 (+150%)
Mutual labels:  eslint
311
New web portal for BOS:311
Stars: ✭ 15 (-16.67%)
Mutual labels:  eslint
gomodest-template
A template to build dynamic web apps quickly using Go, html/template and javascript
Stars: ✭ 77 (+327.78%)
Mutual labels:  bulma

React Boilerplate

You can try out this project here

Requirements

  • Operating System: MacOS or Linux
  • Node.js (I recommend installing with NVM)

Quick Start

Setup

npm install

for Development

npm start

for Production

npm install -g serve

npm run build
npm run serve

for Deployment (using surge)

npm install -g surge

npm run build
npm run deploy
# You may have to create an account

Other Commands

npm test
npm run test:watch
npm run test:verbose
npm run test:coverage
npm run lint
npm run lint:fix

Setup Instructions

To setup your own project, you will need to copy the contents of this project into a new repo. You will need to update the content in these files to names of your project and yourself:

  • package.json: name, version, description, repository, author, bugs, homepage
  • LICENSE: (update to your preferred license)
  • client/index.html: description and title
  • this README.md

This is also a good time to go through the included libraries to add or remove features that you want.

After this you can commit the files into a new repository and push up to your github. You can now start updating files in your client to begin working on your own project!

Features

  • Webpack conveniently bundles your code for you.
  • Babel lets you use ES6/7 features.
  • Hot Module Reloading for JS and CSS makes development quick and easy.
  • CSS pre-processor setup for LESS and SASS lets you keep your styles clean and organized.
  • ESLint helps you maintain a high level of code quality.
  • Jest and Enzyme give you a robust testing frame work to make sure your code works.

Code Structure

- config
- scripts
- client
  - assets
    - images
    - icons
  - components
    - atoms
    - molecules
    - organisms
    - templates
    - pages
    - environment
  - hooks
  - store
    - actions
    - reducers
    - thunks
    - tests
  - styles
  - utils

Component Heirarchy:

Environment > Pages > Templates > Organisms > Molecules > Atoms

This is based on atomic design. Learn more about atomic design.

Technologies

React - View Library

React-Router - Routing Library for React

Redux - State Manager

Redux-Persist - Persistent State

Webpack - Module Bundler

Bulma - CSS Framework

React Bulma Companion - Bulma Component Library

Material-UI - React Component Library

FontAwesome - Icons

Ramda - Functional Library

date-fns - Date Functions Library

ESLint - Code Linter

Jest - Testing Framework

Surge - Static Web Deployment

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].