manojadams / create-react-app-boilerplate

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:JavaScript 61.5%Language:HTML 31.7%Language:CSS 6.7%