Skip to content

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

Notifications You must be signed in to change notification settings

azappella/react-minimal

Repository files navigation

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 — 17.0.1
  • Redux — State Management with middleware and helpers
  • 🛠 Babel — ES6 syntax
  • 🚀 Webpack — Hot Reloading, Code Splitting, Optimized Build (development/production)
  • 💅 CSS — Using stitches for styling components and regular CSS Loader if necessary
  • Tests — Jest, React Testing Library
  • 💖 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

TODO

  • Try adding redux toolkit
  • Create authentication template

Key differences

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

Some key differences:

  • added redux-toolkit
  • removed unecessary devDependencies
  • removed all babel plugins
  • removed support for sass
  • removed husky
  • removed jarvis
  • replaced styled-components with stitches
  • Replaced react-router with wouter

License

MIT license

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •