A starter kit for react
1
stars
0
forks
source link
React starter
Getting started
- Create a directory for your project:
mkdir my-project && cd my-project
- Clone this repo:
git clone git@github.com:n6g7/react-starter.git .
- Remove existing git history:
rm -r .git
- Start a new git repo:
git init
- You're ready to start developing!
- Run the app locally:
yarn dev
- Build:
yarn build
- Test:
yarn test
What's inside
- React (
react
, prop-types
, react-dom
)
- Redux (
redux
, react-redux
, reselect
)
- React router (
react-router-dom
, react-router-redux
, history
)
- Redux saga (
redux-saga
)
- Redux form (
redux-form
)
- Styled components (
styled-components
)
- Webpack (
webpack
, webpack-dev-server
, url-loader
)
- Babel loader (
babel-core
, babel-loader
, babel-polyfill
, babel-preset-env
, babel-preset-react
, babel-preset-stage-2
)
- Dotenv plugin (
dotenv-webpack
)
- Hot module reloading + React hot loader
- Jest (
jest
)
- Prettier (
prettier
)
- Eslint (
eslint
, eslint-plugin-react
)
What you could add on top
- Firebase (
firebase
, redux-saga-firebase
, rsf-auth
)
- VX (
@vx/axis
, @vx/scale
, ...)