# Flour & Fold Bakery

## Description

Bakery pre-order app for showcasing breads, pastries, cakes, and seasonal items with pickup slots, lead-time rules, order tracking, and admin tools for products and sales.

## Prompt

Make me a pre-order app for a bakery called "Flour & Fold Bakery."...

**Menu:**  
Categories: Breads, Pastries, Cakes & Tarts, Cookies, Seasonal  
Seed it with like 12-13 realistic French bakery items spread across the categories  
Each product card should show an image, name, short description, price, and how much notice it needs (like cakes need 48hrs, bread is same-day by 7am)  
Some items should be daily, some weekend-only (show a badge for weekend ones)

**How ordering works:**  
Browse the menu, filter by category with tabs  
Each product has +/- buttons with a quantity counter to add to your cart  
Cart page shows everything with quantities you can adjust and a total  
Checkout: pick a pickup date and time slot - the system should block dates that are too soon based on the lead times (so if you have a cake that needs 48hr notice, you can't pick tomorrow). Weekend-only items should only allow weekend pickup dates  
Customer enters their name and phone number, confirms, and gets an order reference code like "FF-ABC123"  
Confirmation page shows the full order summary

**My Orders:**  
Save order refs in localStorage so customers can see their past orders from that device  
A "My Orders" page accessible from the header shows all past orders with status, items, pickup info  
Customers can cancel pending orders (with a "are you sure?" confirmation). Cancelled orders stay in the list showing cancelled status

**Admin panel (password: "WhatABread!"):**  
Small gear icon in the footer to get to admin login  
Manage products: add, edit, delete. Control name, description, price, category, image URL, lead time hours, lead time label, daily vs weekend availability, max quantity per day  
Toggle any product as sold out for the day (sold out items show an overlay on the card and can't be added)  
View all orders grouped by pickup date, showing customer name, phone, reference, pickup time, items, and total

**Design:**  
Warm, inviting, French-bakery-meets-modern vibe. Color palette: warm cream background, dusty rose accents, charcoal text. Use Playfair Display for headings and Lato for body text. Rounded cards, soft shadows, clean and cozy. Mobile-first but looks good on desktop too.

## Live App

[https://de7e65171f7440ecbb.v2.appdeploy.ai/](https://de7e65171f7440ecbb.v2.appdeploy.ai/)
