A ready to go React js boilerplate, backed by latest techs and tools to get your React projects on feet in no time. The boilerplate includes basic API call example and UI elements usage example.
Check out our website at Qdev and our code marketplace at Alkanyx for more cool stuff.
You can also check out the official page of the boilerplate Here
npm run setup
ornpm install
npm start
npm run prebuild
Cleans build directory and runs Lint plus Testsnpm run build
Generates production build
npm lint
ornpm lint:watch
npm run test
Slingshot offers a rich development experience using the following technologies:
Tech | Description |
---|---|
React | Fast, composable client-side components. |
Redux - Redux Sauce - Redux Saga | Clean and modern implementation of Redux. Enforces unidirectional data flows and immutable, hot reloadable store that supports time-travel debugging. |
semnatic-ui-react | Semantic UI kit for React Js. Can be replaced with any library you wish |
APISauce | Axios Based API wrapper for mapping your app's backend. |
React Router | A complete routing library for React |
Babel | Compiles ES6 to ES5. Enjoy the new version of JavaScript today. |
Webpack | Bundles npm packages and our JS into a single file. Includes hot reloading via react-transform-hmr. |
Browsersync | Lightweight development HTTP server that supports synchronized testing and debugging on multiple devices. |
Jest | Automated tests with built-in expect assertions and Enzyme for DOM testing without a browser using Node. |
TrackJS | JavaScript error tracking. |
ESLint | Lint JS. Reports syntax and style issues. Using eslint-plugin-react for additional React specific linting rules. |
SASS | Compiled CSS styles with variables, functions, and more. |
PostCSS | Transform styles with JS plugins. Used to autoprefix CSS |
Editor Config | Enforce consistent editor settings (spaces vs tabs, etc). |
npm Scripts | Glues all this together in a handy automated build. |
Note* Forked out of Corey's react-slingshot boilerplate and inspired by Infinite Red's ignite boilerplate for React Native.