Inspiration

Small handmade sellers — like my friend who makes crochet scrunchies — want to sell online, but building a store means hiring a developer or learning to code. I wanted a way for any seller to get a beautiful, working store just by describing their shop in a few words.

What it does

AI Storefront Builder turns a short shop description into a complete online store. The AI decides the theme, colours, fonts, layout, intro text, headings and product card style, and writes the products with names, prices and descriptions. The seller only manages products — photo, name, price, description and stock — in a dashboard, and every change updates the live preview instantly. Stores have a "Today's Drop" section with only 2–5 limited-stock products, "Only X left" badges, and "Sold out" with buying disabled when stock hits zero. Customers add to the cart (quantity can never exceed stock) and check out with PayPal, and stock goes down after each payment.

How I built it

A single-page app with a Vercel serverless function. The seller's description is sent to Groq (openai/gpt-oss-120b), which returns structured JSON for the store — name, tagline, colours, layout and products — and the page renders it live. Product photos can be uploaded by the seller, and AI can write a name and description from a photo. PayPal Sandbox handles checkout through a serverless Orders step, and store state is saved in the browser.

Challenges

The first version of Generate never called the AI at all — it matched keywords to fixed templates, so a soap shop showed skincare products. I found that by testing with a different shop, rewired Generate to call the live Groq API, and verified it with real soap, flower and plant shops. The flower shop then showed candle photos, because there was no flowers category and the fallback was candles — so I added flowers, plants, coffee, books, toys and clothing categories, and changed the fallback to a neutral shop photo.

What I learned

I learned how to use the PayPal Sandbox — creating a sandbox app, using its Client ID and Secret, and testing checkout without real money. I learned how to use API keys without hardcoding them in code, by storing them as environment variables in Vercel, and how environment variables work in general. I also learned how Vercel preview deployments work — every push gets its own preview link, and the main production link is the one to share with judges. I also learned to test with a genuinely different input before claiming something works — a successful build and saved API keys are not proof.

Built With

Share this project:

Updates

Submission history