A simple and (relatively) minimal starter template for react.
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.
- ⚛ 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
- Clone this repo using
https://github.com/azappella/react-minimal.git
- Move to the appropriate directory:
cd react-minimal
. - Run
yarn
ornpm install
to install dependencies. - Run
npm start
to see the example app athttp://localhost:8080
.
npm start
- start the dev servernpm run build
- create a production ready build indist
foldernpm run lint
- execute an eslint checknpm run lint:fix
- execute an eslint and fix the errorsnpm test
- run all testsnpm run test:watch
- run all tests in watch modenpm run test:cover
- coverage mode
- Try adding redux toolkit
- Create authentication template
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
MIT license