Skip to content

manuelpuchta/react-boilerplate

Repository files navigation

react-boilerplate

Minimal boilerplate with React, Redux and styled-components using webpack compiler.

You should manage your node versions with nvm or n

# use / install projects node version with nvm
nvm use
# or n
n auto

# install all project dependencies one
npm i

Development

# start local development
npm start

# run tests (Jest)
npm test
# or run with watch mode
npm run test:watch

# create a build
npm build

Useful links and notes

  • How to structure your React app? Have a look at the React FAQs. I would recommend to structure your app by features: One feature folder that contains styles, JS, tests and assets, if possible. Is it a huge feature? Create a new root folder for that feature.
  • Good additional read: Best practices for building a large scale react application
  • Write tests, this boilerplate comes with a basic Jest w/ Enzyme setup.
  • Make yourself familiar with React, Redux and styled-components - the live editor examples are really helpful.
  • On each commit husky runs eslint (with configured prettier plugin) and tests npm test.

About

Minimal boilerplate for React using webpack compiler.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published