Skip to content

๐Ÿš€ Ready to go React JS Boilerplate with easy to understand structure > https://rbb.qdev.tech

License

Notifications You must be signed in to change notification settings

theqdev/react-big-bang

Repository files navigation

About

A ready-to-go, production ready React.js boilerplate, backed by reliant technologies and tools to get your React projects up and running in no time. The boilerplate includes basic examples of API calls and UI elements usage.


2024 Update

While researching different frameworks and tools to assist with building new SPAs, I realized that this older boilerplate had some neat development and production tools that facilitate fast development.

All deprecated libraries have been updated, and those no longer supported have been replaced with alternatives that offer long-term support.

Compatibility with the latest versions of Node.js, npm, and operating systems has also been improved.

Getting Started

You can also check out the official page of the boilerplate here.

Installation and Development Mode

  • git clone https://github.com/theqdev/react-big-bang
  • npm run setup or npm install
  • npm start

Creating a Production Build

  • npm run clean-dist - Cleans the build directory
  • npm run prebuild - Cleans the build directory and runs linting and tests
  • npm run build - Generates the production build
  • npm run analyze-bundle - Analyzes bundle size and its libraries

Linting and Tests

  • npm run lint or npm run lint:watch
  • npm run test

Technologies

Under the hood, the kit is powered by:

Tech Description
React Fast, composable client-side components.
react-bootstrap React Bootstrap UI kit for React.js.
Redux - Redux Sauce - Redux Saga Redux store implementation. Enforces unidirectional data flows and an immutable, hot-reloadable store that supports time-travel debugging.
APISauce Axios-based API wrapper for mapping your app's backend.
React Router A complete routing library for React.
Babel Compiles code to any desired presets.
Webpack Bundles npm packages and our JS into a single file. Includes hot reloading.
Browsersync Lightweight development HTTP server that supports synchronized testing and debugging on multiple devices.
Jest Automated tests with built-in expect assertions and react-testing-library 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 Transforms styles with JS plugins. Used to autoprefix CSS.
EditorConfig Enforces consistent editor settings (spaces vs tabs, etc).
npm Scripts Glues all this together in a handy automated build.

Contributing

If you ever end up using this and find a fix or an improvement, don't hesitate to open a PR of your changes.


Check out our website at Qdev and our other projects at Envato Market for more cool stuff.