create-react-app burger-builder --scripts-version 1.1.5
npm run eject
npm install --save prop-types
npm install --save axios
npm install --save react-router-dom
npm install --save redux react-redux
npm install --save redux-thunk
BB
βββ App.js
|
βββ assets
βΒ Β βββ images
βΒ Β βββ logo.png
|
βββ components
| |
βΒ Β βββ Burger
βΒ Β β |
βΒ Β β |ββ BuildControls
| | | |
| | β |ββ BuildControl
βΒ Β β | | βββ BuildControl.js
| | | |
βΒ Β β | βββ BuildControls.js
| | |
βΒ Β β |ββ BurgerIngredients
| | | βββ BurgerIngredients.js
| | |
βΒ Β β |ββ OrderSummary
| | | βββ OrderSummary.js
| | |
| | βββ Burger.js
βΒ Β β
βΒ Β βββ Logo
| | βββ Logo.js
| |
βΒ Β βββ Navigation
| | |
βΒ Β | |ββ NavigationItems
| | | |
βΒ Β | | |ββ NavigationItem
βΒ Β | | | ββ NavigationItem.js
βΒ Β | | |
βΒ Β | | βββ NavigationItems.js
| | |
βΒ Β | |ββ SideDrawer
| | | |
βΒ Β | | |ββ DrawerToggle
βΒ Β | | | ββ DrawerToggle.js
βΒ Β | | βββ SideDrawer.js
βΒ Β | |
| | βββ Toolbar
| | βββ Toolbar.js
βΒ Β β
βΒ Β βββ Order
| | |
βΒ Β | |ββ CheckoutSummary
βΒ Β | | ββ CheckoutSummary.js
| | βββ Order.js
| |
βΒ Β βββ UI
| |
βΒ Β |ββ BackDrop
βΒ Β | ββ BackDrop.js
βΒ Β |ββ Button
βΒ Β | ββ Button.js
βΒ Β |ββ Input
βΒ Β | ββ Input.js
βΒ Β |ββ Modal
βΒ Β | ββ Modal.js
| βββ Spinner
| ββ Spinner.js
βΒ Β
βββ containers
| |
| |ββ Auth
| | |
| | |ββ Logout
| | | ββ Logout.js
| | ββ Auth.js
| |
| |ββ BurgerBuilder
| | ββ BurgerBuilder.js
| |
| |ββ Checkout
| | |
| | |ββ ContactData
| | | ββ ContactData.js
| | |
| | ββ Checkout.js
| |
| ββ Orders
| ββ Orders.js
|
βββ hoc
| |
| |ββ asyncComponent
| | ββ asyncComponent.js
| |
| |ββ Layout
| | ββ Layout.js
| |
| |ββ ReactAux
| | ββ ReactAux.js
| |
| ββ WithErrorHandler
| ββ WithErrorHandler.js
|
βββ shared
| ββ utility.js
|
βββ store
| |
| |ββ actions
| | |β actionTypes.js
| | |β auth.js
| | |β burgerBuilder.js
| | |β index.js
| | ββ order.js
| |
| βββ reducer
| |β auth.js
| |β burgerBuilder.js
| ββ order.js
|
βββ axios-orders.js
|
βββ index.js