How benjamin-future/big_kenya works
This is a Vue storefront and marketplace frontend branded SwiftCart, with customer shopping and ordering, vendor workflows, delivery views, and administrator tools. The main customer flow is routed through product browsing, cart, checkout, and order pages; authentication and API services support those screens. Vendor and admin capabilities form distinct management branches. The README describes only a Vue/Vite starter, so product capabilities are inferred from the source tree and indexed references; several component-to-store relationships are supported by the index rather than inspected implementation excerpts.
Main entry points: index.js Route and access control · api.js HTTP and payment API · AdminDashboard.vue Admin dashboard · VendorDashboard.vue Vendor dashboard
Components 31
Customer shopping
- Product browsing
src/components/ProductListPage.vue - Product details
src/components/ProductDetailPage.vue - Cart
src/stores/useCartStore.js - Cart page
src/components/CartPage.vue - Checkout
src/components/CheckoutPage.vue - Customer orders
src/components/OrdersPage.vue - Order state
src/stores/useOrderStore.js - Order confirmation
src/components/OrderSuccessPage.vue - Navigation
src/components/NavBar.vue - Footer and newsletter
src/components/Footer.vue
Identity and API
- Route and access control
src/router/index.js - Authentication state
src/stores/useAuthStore.js - Authentication service
src/services/auth_service.js - HTTP and payment API
src/services/api.js
Marketplace operations
- Admin dashboard
src/components/AdminDashboard.vue - Admin state
src/stores/useAdminStore.js - Product administration
src/components/AdminProducts.vue - Order administration
src/components/AdminOrders.vue - User administration
src/components/AdminUsers.vue - Wallet administration
src/components/AdminWallet.vue - Vendor dashboard
src/components/VendorDashboard.vue - Become a vendor
src/components/BecomeVendorPage.vue - Vendor requests
src/components/VendorRequests.vue - Vendor directory
src/components/Vendors.vue
Delivery
- Delivery administration
src/components/AdminDeliveries.vue - Rider administration
src/components/AdminRiders.vue - Delivery tracking
src/components/DeliveriesPage.vue - Delivery service
src/services/deliveries.js - Order delivery
src/components/OrderDeliveryPage.vue
Other components
- Shopper
- Marketplace backend
Connections 39
- Shopper → Route and access control: opens pages
src/router/index.js - Route and access control → Product browsing: routes to
src/router/index.js - Route and access control → Product details: routes to
src/router/index.js - Route and access control → Cart page: routes to
src/router/index.js - Route and access control → Checkout: routes to
src/router/index.js - Route and access control → Order confirmation: routes to
src/router/index.js - Route and access control → Customer orders: routes to
src/router/index.js - Route and access control → Delivery tracking: routes to
src/router/index.js - Route and access control → Authentication state: checks access
src/router/index.js - Product browsing → Cart: updates cart
src/components/ProductListPage.vue - Product details → Cart: updates cart
src/components/ProductDetailPage.vue - Cart page → Cart: uses cart
src/components/CartPage.vue - Checkout → Cart: reads cart
src/components/CheckoutPage.vue - Checkout → Order state: uses orders
src/components/CheckoutPage.vue - Customer orders → Order state: uses orders
src/components/OrdersPage.vue - Authentication service → HTTP and payment API: calls
src/services/auth_service.js - Authentication service → Authentication state: updates auth
- Navigation → Authentication service: uses auth
src/components/NavBar.vue - Order state → HTTP and payment API: requests data
src/stores/useOrderStore.js - HTTP and payment API → Marketplace backend: sends requests
src/services/api.js - Admin dashboard → Product administration: shows section
src/components/AdminDashboard.vue - Admin dashboard → Order administration: shows section
src/components/AdminDashboard.vue - Admin dashboard → User administration: shows section
src/components/AdminDashboard.vue - Admin dashboard → Wallet administration: shows section
src/components/AdminDashboard.vue - Admin dashboard → Delivery administration: shows section
src/components/AdminDashboard.vue - Admin dashboard → Rider administration: shows section
src/components/AdminDashboard.vue - User administration → Admin state: uses state
src/components/AdminUsers.vue - Order administration → HTTP and payment API: requests data
src/components/AdminOrders.vue - Product administration → HTTP and payment API: requests data
src/components/AdminProducts.vue - Wallet administration → HTTP and payment API: requests data
src/components/AdminWallet.vue - Vendor dashboard → Product administration: shows section
src/components/VendorDashboard.vue - Vendor dashboard → Order administration: shows section
src/components/VendorDashboard.vue - Vendor dashboard → Wallet administration: shows section
src/components/VendorDashboard.vue - Vendor dashboard → Delivery administration: shows section
src/components/VendorDashboard.vue - Vendor dashboard → Rider administration: shows section
src/components/VendorDashboard.vue - Delivery tracking → HTTP and payment API: requests data
src/components/DeliveriesPage.vue - Order delivery → Delivery service: uses service
src/components/OrderDeliveryPage.vue - Delivery service → HTTP and payment API: calls
src/services/deliveries.js - Footer and newsletter → Shopper: newsletter feedback