azappella / react-minimal-old

A simple and (relatively) minimal starter template for react.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Minimal

A simple and (relatively) minimal starter template for react.

PRs Welcome License MIT

Introduction

This template contains all you need to start your next React project. All you need to do is clone, install and you're ready to start.

Features

  • React — 16.8.6 (with hooks)
  • Redux, redux-thunk, redux-act — State Management with middleware and helpers
  • 🛠 Babel — ES6 syntax
  • 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build (development/production)
  • 💅 CSS — Styled Components and regular CSS Loader if necessary
  • Tests — Jest, React Testing Library & Cypress
  • 💖 Lint — ESlint, Airbnb & React/Recommended config

Getting started

  1. Clone this repo using https://github.com/azappella/react-minimal.git
  2. Move to the appropriate directory: cd react-minimal.
  3. Run yarn or npm install to install dependencies.
  4. Run npm start to see the example app at http://localhost:8080.

Commands

  • npm start - start the dev server
  • npm run build - create a production ready build in dist folder
  • npm run lint - execute an eslint check
  • npm run lint:fix - execute an eslint and fix the errors
  • npm test - run all tests
  • npm run test:watch - run all tests in watch mode
  • npm run test:cover - coverage mode

License

MIT license

Credit/Thanks

This repository is a fork from React Bolt, the excellent react starter template from Leonardo Maldonado.

Some key differences:

  • added redux-act
  • removed unecessary devDependencies
  • removed all babel plugins
  • removed support for sass
  • removed husky
  • removed jarvis

About

A simple and (relatively) minimal starter template for react.


Languages

Language:JavaScript 97.0%Language:HTML 3.0%