Skip to content

SOURAV-ROY/burger-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

BURGER BUILDER

DEMO

Commands

    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

Folder Structure

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

REACT 😍