How ivantumanow/vutex-shop works
This is a clothing-storefront web application with account management and a Strapi-backed content/API layer. The main user journey runs from storefront navigation to catalog, cart, and sizing pages; account users can register or sign in, view profile/order pages, and edit profile details. The graph also preserves company/logo and user-data API capabilities indicated by the route tree and source index. Several page and API implementations were not excerpted, so their internal calls are omitted rather than inferred.
Main entry points: signUp.tsx Sign-up form · editProfile.tsx Profile editor · auth.services.ts Authentication service · layout.tsx Store layout
Components 32
Storefront
- Home page
src/app/(baseLayout)/page.tsx - Catalog page
src/app/(baseLayout)/catalog/page.tsx - Cart page
src/app/(baseLayout)/cart/page.tsx - Size chart
src/app/(baseLayout)/size-chart/page.tsx - Store layout
src/app/(baseLayout)/layout.tsx - Header navigation
src/components/layout/header/header.tsx - Page menu
src/components/layout/header/pageMenuHeader.tsx - Store footer
src/components/layout/footer/footer.tsx
Accounts
- Sign-in page
src/app/(authLayout)/auth/sign-in/page.tsx - Sign-up page
src/app/(authLayout)/auth/sign-up/page.tsx - Sign-in form
src/components/form/auth/signIn/signIn.tsx - Sign-up form
src/components/form/auth/signUp/signUp.tsx - Authentication service
src/services/auth.services.ts - Auth endpoint
src/app/api/auth/[...nextauth]/route.ts - Credentials auth
src/config/auth.config.ts - Profile editor
src/components/form/editProfile/editProfile.tsx - Profile pages
src/app/(onlyHeaderLayout)/profile/user/page.tsx - Orders page
src/app/(onlyHeaderLayout)/profile/orders/page.tsx - Image upload
src/services/image-upload.services.ts
Content and APIs
- Company data route
src/app/api/dataCompany/route.ts - Logo data route
src/app/api/logos/route.ts - User data route
src/app/api/userData/route.ts - GraphQL proxy
src/services/api-route.services.ts - GraphQL queries
src/config/query.config.ts - Strapi API
Shared UI
- Button control
src/components/shared/Button/button.tsx - Input control
src/components/shared/Input/input.tsx - Loading indicator
src/components/shared/Loader/loader.tsx - Toast container
src/components/ui/toastContainer/toastContainer.tsx - Toast message
src/components/shared/Toast/toast.tsx - Brand logo
src/components/shared/logo/logo.tsx
Other components
- Shopper
Connections 32
- Shopper → Home page: opens
- Shopper → Sign-in page: opens
- Home page → Store layout: uses layout
- Store layout → Header navigation: renders
- Store layout → Store footer: renders
- Header navigation → Page menu: renders
src/components/layout/header/header.tsx - Sign-in page → Sign-in form: renders
src/app/(authLayout)/auth/sign-in/page.tsx - Sign-up page → Sign-up form: renders
src/app/(authLayout)/auth/sign-up/page.tsx - Sign-up form → Authentication service: registers through
src/components/form/auth/signUp/signUp.tsx - Sign-in form → Authentication service: authenticates through
src/components/form/auth/signIn/signIn.tsx - Authentication service → Strapi API: registers user
src/services/auth.services.ts - Authentication service → Auth endpoint: starts sign-in
src/services/auth.services.ts - Auth endpoint → Credentials auth: configures
src/app/api/auth/[...nextauth]/route.ts - Credentials auth → Strapi API: validates credentials
src/config/auth.config.ts - Profile editor → Image upload: uploads avatar
src/components/form/editProfile/editProfile.tsx - Profile editor → Strapi API: updates profile
src/components/form/editProfile/editProfile.tsx - Company data route → GraphQL proxy: runs query
src/app/api/dataCompany/route.ts - Logo data route → GraphQL proxy: runs query
src/app/api/logos/route.ts - GraphQL proxy → Strapi API: posts GraphQL
src/services/api-route.services.ts - Company data route → GraphQL queries: uses templates
src/app/api/dataCompany/route.ts - Logo data route → GraphQL queries: uses templates
src/app/api/logos/route.ts - User data route → Strapi API: serves user data
- Sign-up form → Button control: uses
src/components/form/auth/signUp/signUp.tsx - Sign-up form → Input control: uses
src/components/form/auth/signUp/signUp.tsx - Sign-up form → Loading indicator: shows while loading
src/components/form/auth/signUp/signUp.tsx - Sign-up form → Toast container: shows errors
src/components/form/auth/signUp/signUp.tsx - Toast container → Toast message: renders
src/components/ui/toastContainer/toastContainer.tsx - Profile editor → Button control: uses
src/components/form/editProfile/editProfile.tsx - Profile editor → Input control: uses
src/components/form/editProfile/editProfile.tsx - Profile editor → Toast container: shows errors
src/components/form/editProfile/editProfile.tsx - Header navigation → Brand logo: renders
src/components/layout/header/header.tsx - Store footer → Brand logo: renders
src/components/layout/footer/footer.tsx