Top

Next.Js Documentation

E-Commerce offers stunning and one-of-a-kind website demos tailored to your grocery, bakery, and online store needs. With E-Commerce, you'll find everything you require to craft the ideal website for your business. E-Commerce - your all-in-one solution!

Folder Structure

E-Commerce Frontend:

  • E-Commerce-frontend- goodesi
    • public # Static assets (images, icons)
      • assets
        • audio
        • data
        • fonts
        • i18n
        • image
        • scss
        • svg
    • src
      • app
        • (MainBody)
          • [...not-found]
            • page.js
          • 404
            • page.js
          • about-us
            • page.js
          • cart
            • page.js
          • //all page routes are in this (MainBody) folder
        • api
          • attribute
            • attribute.json
            • route.js
          • cart
            • cart.json
            • route.js
          • category
            • category.json
            • route.js
          • //all static api logics are in this api folder
        • i18n
          • locales
            • ar
              • common.json
            • en
              • common.json
            • es
              • common.json
            • fr
              • common.json
          • i18-context.jsx
          • server.js
          • server.js
        • layout.js
      • Components
        • ActiveTheme
        • Auth
        • Blogs
        • Brand
        • Cart
        • Category
        • Collection
        • Pages
        • ProductDetails
        • Seller
        • Theme
        • Widgets
      • Context
        • AccountContext
          • AccountProvider.jsx
          • index.jsx
        • BlogContext
          • BlogProvider.jsx
          • index.jsx
        • BlogIdsAccountContext
          • BlogIdsAccountProvider.jsx
          • index.jsx
        • BrandContext
          • BrandProvider.jsx
          • index.jsx
        • BrandIdsContext
          • BrandIdsProvider.jsx
          • index.jsx
        • CartContext
          • CartProvider.jsx
          • index.jsx
        • CategoryContext
          • CategoryProvider.jsx
          • index.jsx
        • CompareContext
          • CompareProvider.jsx
          • index.jsx
        • CurrencyContext
          • CurrencyProvider.jsx
          • index.jsx
        • ProductContext
          • ProductProvider.jsx
          • index.jsx
        • ProductIdsContext
          • ProductIdsProvider.jsx
          • index.jsx
        • SettingContext
          • SettingProvider.jsx
          • index.jsx
        • ThemeOptionsContext
          • ThemeOptionsProvider.jsx
          • index.jsx
        • WishlistContext
          • WishlistProvider.jsx
          • index.jsx
      • Data
        • Layout
        • Pages
        • SliderSetting
        • CountryCode.jsx
        • CustomData.jsx
        • LayoutData.jsx
      • Elements
        • Alert&Modals
          • ShowBox.js
        • Buttons
          • Btn.js
        • RatioImage
          • index.js
      • Layout
        • ExitModal
        • Footer
        • Header
        • Loader
        • MewsLetterModal
        • RecentPurchase
        • StickyCompare
        • TapTop
        • ThemeCustomizer
        • index.jsx
        • SubLayout.jsx
      • Utils
        • AxiosUtils
        • CommonComponents
        • Constants
        • CustomFunctions
        • HOC
        • SvgIcons
        • Validation
        • dateHelper.js
        • geoHelper.js
        • NoSSR.jsx
        • RationImage.jsx
      • middleware.js
      • index.scss
    • jsconfig.json
    • next.config.mjs
    • package.json
    • server.js
    • .env

E-Commerce Admin: - goodesiBackend

  • E-Commerce-admin
    • public
      • assets
        • audio
        • data
        • fonts
        • i18n
        • image
        • scss
        • svg
    • src
      • app
        • (AuhLayout)
          • auth
            • forgot-password
              • page.js
            • login
              • page.js
            • otp-verification
              • page.js
            • update-password
              • page.js
          • layout.js
        • (MainLayout)
          • account
            • page.js
          • attachment
            • page.js
          • checkout
            • page.js
          • cart
            • page.js
          • //all page routes are in this (MainLayout) folder
        • api
          • attribute
            • attribute.json
            • route.js
          • cart
            • cart.json
            • route.js
          • category
            • category.json
            • route.js
          • //all static api logics are in this api folder
        • auth
          • register
            • page.js
        • i18n
          • locales
            • ar
              • common.json
            • en
              • common.json
            • es
              • common.json
            • fr
              • common.json
          • i18-context.jsx
          • server.js
          • server.js
        • layout.js
        • not-found.js
      • Components
        • 404
        • Account
        • AppSettings
        • Attachment
        • Attribute
        • Auth
        • Blog
        • Brand
        • Category
        • Commission
        • Common
        • CommonComponent
        • //all app logic is here in this Components folder
      • config
        • endpoint.js
      • Helper
        • AccountContext
          • AccountProvider.jsx
          • index.jsx
        • BadgeContext
          • BadgeProvider.jsx
          • index.jsx
        • CartContext
          • CartProvider.jsx
          • index.jsx
        • CategoryContext
          • CategoryProvider.jsx
          • index.jsx
        • MenuContext
          • MenuProvider.jsx
          • index.jsx
        • SettingContext
          • SettingProvider.jsx
          • index.jsx
      • Data
        • AllCountryCode.js
        • AllCurrencyData.js
        • AllTimezoneData.js
        • CommonPath.js
        • MediaConfig.js
        • MenuData.js
        • MimeImageType.js
        • OrderTable.js
        • QuickLinks.js
        • SliderSettingData.js
        • TabTitleListData.js
      • Elements
        • Alert&Modals
          • Modal.js
          • ShowBox.js
        • Buttons
          • Btn.js
          • FormBtn.js
        • POSSkeletonLoader
          • index.js
        • RatioImage
          • index.js
      • Layout
        • AuthLayout
        • Footer
        • Header
        • Sidebar
        • index.js
        • TanstackWrapper.jsx
        • TapTop.js
      • services
        • attributesServices.js
        • brandServices.js
        • countryServices.js
        • .. /all service here
      • store
        • slice
          • attributesSlice.js
          • brandSlice.js
          • ../ all slice here
        • index.js
      • Utils
        • AllReducers
        • AxiosUtils
        • Constants
        • CustomFunctions
        • HOC
        • Hooks
        • Validation
        • auth.js
        • axiosInstance.js
        • withCreatedBy.js
      • middleware.js
    • jsconfig.json
    • next.config.js
    • package.json
    • server.js
    • .env

E-Commerce Admin: - goodesiNode

  • E-Commerce-Node APIs
    • migrations
      • 20250518_add_currency_exchange_rate.sql
      • .. / all sql files
    • src
      • config
        • db.js
        • retryOnDeadlock.js
        • server.js
        • socialAuth.js
        • spHandler.js
      • controllers
        • adress.controller.js
        • brand.controller.js
        • cart.controller.js
        • //all controller is here
      • logs
        • product.log
      • middlewares
        • auth.middleware.js
        • csvUpload.middleware.js
        • validate.middleware.js
      • models
        • address.model.js
        • brand.model.js
        • cart.model.js
        • ../ all model file here
      • public
        • uploads
          • ../ images here
      • routes
        • brand.routes.js
        • cart.routes.js
        • address.routes.js
        • .. all routes here
      • services
        • attributes.services.js
        • brand.services.js
        • country.services.js
        • .. /all service here
      • tasks
        • adandonedCart.js
        • exchangeRateSync.js
        • ../ all timer logic here
      • utils
        • asyncHandler.js
        • logger.js
      • validations
        • productimport.validation.js
        • user.validation.js
      • app.js
    • generate-jwt.json
    • goodesi.js # GMC file
    • package.json
    • migrate.js
    • .env