How robaplus75/ecommerce-app-fullstack works
eShop is a browser-based storefront backed by a Django REST API. The shopper browses and searches products, adds items to a cart, proceeds through checkout, and sees an order confirmation; account registration and sign-in are additional flows. The frontend uses routed React pages and Redux state, while the backend exposes product and account functionality. The README provides no reliable capability details, and several endpoint and order-persistence implementations were not sampled, so those connections are omitted rather than inferred.
Main entry points: App.jsx Route application · Navbar.jsx Navigation and search · Home.jsx Home discovery · Checkout.jsx Checkout
Components 22
Storefront
- Route application
frontend/src/App.jsx - Store shell
frontend/src/components/Container.jsx - Home discovery
frontend/src/pages/Home.jsx - Shop and filters
frontend/src/pages/Shop.jsx - Product detail
frontend/src/pages/ProductDetail.jsx - Navigation and search
frontend/src/components/Navbar.jsx - Product card
frontend/src/components/ProductCard.jsx - Cart page
frontend/src/pages/Cart.jsx - Checkout
frontend/src/pages/Checkout.jsx - Order confirmation
frontend/src/pages/Order.jsx
Shopping state
- Product state
frontend/src/redux/productSlice.jsx - Cart state
frontend/src/redux/cartSlice.jsx - Order state
frontend/src/redux/orderSlice.jsx - HTTP clients
frontend/src/redux/api.js
Accounts
- Account dialogs
frontend/src/components/Login.jsx - Registration
frontend/src/components/Register.jsx - User state
frontend/src/redux/userSlice.jsx
Backend services
- Account endpoints
backend/accounts/views.py - Product endpoints
backend/products/views.py - Product records
backend/products/models.py - Product serializer
backend/products/serializers.py
Other components
- Shopper
Connections 25
- Shopper → Route application: uses
- Route application → Store shell: wraps routes
frontend/src/App.jsx - Route application → Home discovery: routes to
frontend/src/App.jsx - Route application → Shop and filters: routes to
frontend/src/App.jsx - Route application → Cart page: routes to
frontend/src/App.jsx - Route application → Checkout: routes to
frontend/src/App.jsx - Route application → Order confirmation: routes to
frontend/src/App.jsx - Route application → Product detail: routes to
frontend/src/App.jsx - Store shell → Navigation and search: renders
frontend/src/components/Container.jsx - Home discovery → Product state: loads products
frontend/src/pages/Home.jsx - Home discovery → Product card: renders
frontend/src/pages/Home.jsx - Navigation and search → Product state: sets search
frontend/src/components/Navbar.jsx - Product card → Cart state: updates cart
frontend/src/components/ProductCard.jsx - Cart page → Cart state: updates cart
frontend/src/pages/Cart.jsx - Checkout → Cart state: reads cart
frontend/src/pages/Checkout.jsx - Checkout → Order state: sets order
frontend/src/pages/Checkout.jsx - Navigation and search → Account dialogs: opens login
frontend/src/components/Navbar.jsx - Navigation and search → Registration: opens signup
frontend/src/components/Navbar.jsx - Account dialogs → User state: dispatches login
frontend/src/components/Login.jsx - Registration → User state: dispatches signup
frontend/src/components/Register.jsx - User state → HTTP clients: sends requests
frontend/src/redux/userSlice.jsx - HTTP clients → Account endpoints: calls account API
- Product endpoints → Product serializer: serializes products
backend/products/views.py - Product endpoints → Product records: queries products
backend/products/views.py - Product serializer → Product records: serializes model
backend/products/serializers.py