/create-react-app-boilerplate

A min. boilerplate on top of create-react-app with basic components pre-installed

Primary LanguageJavaScript

create-react-app-boilerplate

Quick Overview

Create react apps with basic components and a recommended project structure.

Basic components

  • react-router-dom
  • eslint

Project structure

  • common
  • components
  • config
  • hooks
  • pages
  • rest
  • store
  • utils

Common

Define your common items here

  • constants.js // Define your constants here

Components

Define your re-usable components here

Config

Define all your app config here using either "JSON" or "JS" files

Hooks

Define all your reusable react app hooks here.

Pages

Define your route components here

Rest

Define all your API-related stuff here.

  • RestApi.js // Define your rest API calls here

Others

  • Utils.js // Define your utility functions here
  • store.js // Define your state-management items here