Skip to content

codxmayank/react-boilerplate

Repository files navigation

React Boilerplate (Simplified)

A simple production grade React Boilerplate.

This boilerplate project is highly scalable and performance focused. It is made using best practices.

To Setup this type of project, follow easy steps in this article: LINK

This boilerplate includes the following setups

  • React Project (from scratch using npm init, create-react-app is not used to keep it simple)
  • Webpack and Babel
  • Eslint and Prettier
  • Husky (Pre-commit Git hooks)
  • Sonarcube scanner (local setup)

Project Details

Node version: v16 (16.13.1)

React version: v17 (17.0.2)

Steps to Run this project:

  1. Clone/fork this repository

  2. To install node_modules and other dependencies and dev dependencies run commands:

    npm install
    npm install --save-dev
    
  3. To build project, run

    For development build:

    npm run dev
    

    For production build:

    npm run build
    
  4. To run project on local, run

    npm run start
    

That's it. Enjoy!

NOTE: Detailed guide to setup this Simple React Boilerplate on your own, is coming soon.. till then, clone/fork this project to use it in your projects