Skip to content

AlfredRodriguez2042/react-ecomerce

Repository files navigation

Base of react

This is my little configuration of directories and files, for best practices have pre-install husky and eslint (based in airbnb). If you want work with some library of css you can install

img

Description of the structure directories

  1. Assets
  • only for images, fonts, videos
  1. Components
  • only for components like [ modals, buttons, etc... ] if is reusable is better
  1. Config
  • only for global configurations if you need
  1. Hooks
  • Hooks are a new addition in React that lets you use state and other React features without writing a class
  1. Layout
  • it define the Layout of the aplication, simply accepts a children and render them
  • is a good pratice to separate it from components
  1. Redux
  • i use redux for global states you can change it if you want
  1. Routes
  • is my personal configuration for routes is a simple and clean code
  1. Utils
  • its only for hellper functions
  1. Views or Pages is =
  • conatin all pages of you aplication, includes 404, 500, etc...

Instation

  1. install packages
 npm install

Usage

  1. start
 npm start

About

a simple Template with react, redux and material-ui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published