A modern, mobile-first e-commerce progressive web app for the fashion brand Esteem Collections.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ ├── products.ts # Product management
│ │ ├── orders.ts # Order processing
│ │ ├── admin.ts # Admin dashboard
│ │ └── static.ts # Static file serving
│ └── index.ts # Main API entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── Navigation.tsx # Bottom tab navigation
│ │ ├── Home.tsx # Home screen
│ │ ├── Categories.tsx # Product categories
│ │ ├── Cart.tsx # Shopping cart
│ │ ├── Profile.tsx # User profile
│ │ ├── Wishlist.tsx # Wishlist management
│ │ ├── ProductCard.tsx # Product display component
│ │ ├── ProductDetail.tsx # Product detail page
│ │ ├── Checkout.tsx # Checkout process
│ │ ├── Onboarding.tsx # First-time user flow
│ │ └── AdminDashboard.tsx # Admin interface
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ ├── style.css # Custom styles
│ ├── manifest.json # PWA manifest
│ └── sw.js # Service worker
└── shared/
├── types.ts # TypeScript interfaces
└── utils.ts # Shared utilities
/admin routeGET /api/products - Get all productsGET /api/products/:id - Get product detailsPOST /api/auth/login - User authenticationPOST /api/cart - Add to cartGET /api/orders - Get user ordersPOST /api/admin/products - Add new product (admin)GET /api/admin/analytics - Get sales analytics (admin)