How mohdkhalid26/redparts works
This is a React storefront for AVESH CAR AC, with a home page showing product displays and a separate admin interface for managing product records and images. The visible runtime starts at the browser entry point, mounts the app, and renders the home page; the admin, login, and signup components are imported but not rendered by the current App. Product displays use local sample data. Admin data operations use Firebase Firestore and Storage. The graph reflects sampled source; authentication behavior and any live storefront catalog/cart flow are not evidenced.
Main entry points: Home.jsx Home page · Admin.jsx Product manager · index.js React entry · Main.jsx Product area
Components 19
Application runtime
- React entry
src/index.js - App shell
src/App.jsx
Storefront experience
- Home page
src/modules/public/page/home/Home.jsx - Navigation bar
src/modules/public/component/navbar/Navbar.jsx - Page header
src/modules/public/component/header/Header.jsx - Product area
src/modules/public/component/main/Main.jsx - Product slider
src/modules/public/component/main/product-slider/ProductSlider.jsx - Cart display
src/modules/public/component/main/cart-products/CartProducts.jsx - About and contact
src/modules/public/component/footer/Footer.jsx
Product administration
- Product manager
src/modules/private/admin/Admin.jsx - Login form
src/modules/private/login/Login.jsx - Signup form
src/modules/private/signup/Signup.jsx - Firebase setup
src/Firebase.js - Firestore
- Firebase Storage
Shared state
- Redux store
src/Store.js - App reducer
src/Reducer.js
Other components
- Browser
- Google Maps
Connections 18
- Browser → React entry: opens app
src/index.js - React entry → App shell: renders
src/index.js - React entry → Redux store: provides store
src/index.js - Redux store → App reducer: uses reducer
src/Store.js - App shell → Home page: renders
src/App.jsx - Home page → Navigation bar: renders
src/modules/public/page/home/Home.jsx - Home page → Page header: renders
src/modules/public/page/home/Home.jsx - Home page → Product area: renders
src/modules/public/page/home/Home.jsx - Home page → About and contact: renders
src/modules/public/page/home/Home.jsx - Product area → Product slider: renders
src/modules/public/component/main/Main.jsx - Product area → Cart display: renders
src/modules/public/component/main/Main.jsx - Product manager → Firebase setup: uses config
src/modules/private/admin/Admin.jsx - Product manager → Firestore: reads and writes
src/modules/private/admin/Admin.jsx - Product manager → Firebase Storage: uploads and deletes
src/modules/private/admin/Admin.jsx - Firebase setup → Firestore: initializes
src/Firebase.js - Firebase setup → Firebase Storage: initializes
src/Firebase.js - About and contact → Google Maps: embeds map
src/modules/public/component/footer/Footer.jsx - Navigation bar → Redux store: dispatches