As a user I want to be able to use the frontend that visually matches the mock-design pages exactly. Implement the indigo-gadgets color palette (#F5F8FA bg, #FF6F61 accent, #2C3E50 text, #FFFFFF surface, #BDC3C7 muted), typography (Inter font family), global CSS variables, component base styles, and remove any scaffold pages not present in the final design. This task must be completed independently before all other frontend page tasks begin.
As a user I want to be able to use the backend API to browse, filter, and retrieve product details. Implement FastAPI endpoints: GET /products (list with category filter, pagination), GET /products/{id} (detail), POST /products (admin create), PUT /products/{id} (admin update), DELETE /products/{id} (admin delete). Supports ILS pricing. Includes product name, description, images, category, price, stock.
As a user I want to be able to use the frontend homepage to browse the featured product carousel, filter gadgets by category (Practical / Fun), view testimonials, newsletter signup, and trust badges. Implement based on existing Homepage v1 JSX design. Sections include: NavBar, Hero, FeaturedCarousel (3D interactive), CategoryFilters, ProductGrid, HowItWorks, Testimonials, NewsletterSignup, TrustBadges, Footer. Links to Product page and Results page.
As a user I want to be able to use the frontend login page to sign in to my account securely. Page should match indigo-gadgets theme and style guide. Includes email/password fields, form validation feedback, and a link to signup. On success, redirects Admin to Dashboard and regular users to Homepage. Connects to existing authentication backend.
As a user I want to be able to use the frontend product page to view detailed product descriptions, features, benefits, images, star ratings, and customer reviews. Page includes an 'Add to Cart' CTA button (accent #FF6F61), price in ILS, and review section. Navigated to from Homepage carousel and Results page. Links to Cart page on Add to Cart action.
As a user I want to be able to use the frontend results page to view filtered/searched products in a responsive grid. Desktop: 4 columns, tablet: 3, mobile: 2. Each card shows product image, name, short description, star rating, price (ILS, accent color), and Add to Cart button. Includes category filter bar at top. Navigated to from Homepage filter actions. Links to Product page per item.
As a user I want to be able to use the frontend cart page to review selected items, update quantities, remove items, see subtotal in ILS, and proceed to checkout. Cart summary sidebar shows item list, pricing breakdown, and a 'Proceed to Checkout' CTA. Navigated to from Product page and navbar cart icon. Links to Checkout page.
As a user I want to be able to use the backend API to manage cart items and place orders. Implement FastAPI endpoints: POST /cart (add item), GET /cart (view cart), PUT /cart/{item_id} (update quantity), DELETE /cart/{item_id} (remove item), POST /orders (create order from cart), GET /orders (admin list), GET /orders/{id} (detail). Supports ILS pricing and order status tracking.
As a user I want to be able to use the backend API to read and submit product reviews. Implement FastAPI endpoints: GET /products/{id}/reviews (list reviews with star rating), POST /products/{id}/reviews (submit review, requires auth). Returns reviewer name, rating, and comment. Used by Product page.
As a user I want to be able to use the frontend checkout page to complete my purchase securely. Includes shipping address form, order summary, payment method selection (ILS-compatible gateways), and order confirmation. Displays clear CTA 'Complete Purchase'. Navigated to from Cart page. Shows confirmation/success state on completion.
As an admin I want to be able to use the frontend dashboard page to view analytics, sales overview, recent orders, and quick-access links to manage orders, products, and reports. Includes summary KPI cards (total sales in ILS, orders count, top products). Navigated to from Login. Links to Products page and Reports page.
As a user I want to be able to use the backend API to securely complete purchases via ILS-compatible payment gateways. Integrate third-party payment provider supporting ILS, implement POST /checkout/initiate and POST /checkout/confirm endpoints, handle payment callbacks, and update order status on success/failure. Ensure GDPR-compliant data handling.
As an admin I want to be able to use the backend API to generate sales analytics. Implement FastAPI endpoints: GET /reports/sales (revenue over time, filterable by date range), GET /reports/top-products (best sellers), GET /reports/orders-summary. Returns data in ILS. Used by Reports page.
As a user I want to be able to use the frontend homepage with live product data from the backend. Wire the FeaturedCarousel and ProductGrid components to the GET /products API. Implement category filter state synced with API query params. Display real ILS prices and product images. Handle loading and empty states gracefully.
As a user I want to be able to use the frontend product page with live product and review data. Wire Product page to GET /products/{id} and GET /products/{id}/reviews APIs. Display real price in ILS, product details, and customer reviews with star ratings. Handle Add to Cart action via POST /cart API.
As an admin I want to be able to use the frontend products management page to add, edit, and remove product listings. Includes a product table/grid with search and filter, Add Product form/modal (name, description, price in ILS, category, images), and Edit/Delete actions per row. Navigated to from Dashboard. Links back to Dashboard.
As an admin I want to be able to use the frontend reports page to generate and view sales analytics. Includes date range selector, sales chart (revenue over time in ILS), top-selling products table, and export option. Navigated to from Dashboard.
As a user I want to be able to use the frontend cart and checkout pages with real order processing. Wire Cart page to GET /cart, PUT /cart/{item_id}, DELETE /cart/{item_id} APIs. Wire Checkout page to POST /checkout/initiate and POST /checkout/confirm. Display ILS totals and handle payment success/failure flows with user feedback.
As an admin I want to be able to use the frontend dashboard with live analytics and order data. Wire Dashboard KPI cards to GET /reports/orders-summary and GET /reports/sales APIs. Wire Products admin page to products CRUD endpoints. Wire Reports page to GET /reports/sales and GET /reports/top-products. Display all values in ILS.
No completed page designs yet.
Completed design pages will appear here when they are ready to preview.
No comments yet. Be the first!