Please note that this project, while it served its purpose well, is no longer maintained. Thank you for understanding.
A React boilerplate that's always ahead! Click here to check out the live demo.
This boilerplate has one thing in mind - use as few dependencies as possible, while having all the best features. If something is not absolutely necessary, you won't find it here.
Reactizer's goal is mainly to provide you with the best practices of building a modern React application. Feel free to open an issue or a pull request!
All the tech I chose is super new, sometimes even in an alpha version - thus if you'd like to use it for production, I recommend scaling those unstable versions down.
To check out the backend, click here!
The features currently present in the demo are as follows:
test
, with password Testtest1
.npm
just doesn't scaleAlso in the bundle:
gulp.spritesmith
babel-plugin-react-intl
react-hot-loader
, react-transform
nor webpack-isomorphic-tools
- I keep HMR and Webpack vanillaReact Native requires (due to it's Babel 5 dependency) babel-core
and babel-cli
to be placed in dependencies, instead of dev dependencies.
Having problems? Try running watchman watch-del-all
Simply npm i
. Then you have these following tasks available:
CORE
Web:
npm start
- starts HMR and server (default at :8080)npm run server
- runs the servernpm run bundle
- prepares all assets and builds the client and server codeNative:
npm run ios
- runs react native iosnpm run android
- runs react native androidnpm run native
- runs react native servernpm run native:clean
- runs react native server and clears the cacheCommon:
npm test
- runs testsnpm run lint
- runs eslintOTHER
npm run messages
- fetch all messagesnpm run lint:fix
- runs eslint and fixes problems, if it cannpm run test:coverage
- runs tests and generates coverage infonpm run test:watch
- runs tests in watch modeasync await
)