Skip to content

MaxPopsuy/react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React starter pack

First of all init the starter pack

npm init

Next, install all packages

npm i

npm i -D

Done, now you can start your react project

Starter pack includes:

  • Latest version of React
  • Material UI
  • Redux and Redux Toolkit with some test stuff
  • Axios (with config file)
  • Classnames
  • Pnotify
  • React router (with config files: config/router.js and utils/constants.js)
  • Create React App Configuration Override (CRACO)
    • craco.config.js
    • Custom eslint
    • Custom aliases:
      • @components
      • @store
      • @utils
      • @pages
      • @scss
      • @images
      • @public
      • @src
      • @root
      • @config

You can access the aliases by using that code:

  import cool from "@components/cool.js"

Starter pack commands:

npm start

  • Start project

npm run build

  • Build project

npm run deploy

  • Deploy project on netlify

May the React Force be with you 🥰