Skip to content
← All templates

Storefront template

An online store on your own domain: a product catalog, a cart, Stripe Checkout, customer accounts with order history, product photos, Postgres, and an agent API for fulfillment.

Sign up for Pro

Choose Pro ($25/mo) during signup, then return to this template.

Paste this into Claude or ChatGPT

Deploy the template at https://github.com/getfloo/storefront-template on floo for me. Use my existing floo org. If you cannot run commands here, guide me through them one at a time. Follow https://getfloo.com/agents.md to create a floo-hosted project, replace its starter code with this template's files (keep the project's [app] name in floo.app.toml), push, and give me the dev URL. The deploy stops on STRIPE_SECRET_KEY: have me copy my Stripe test-mode secret key and set it with `floo env set STRIPE_SECRET_KEY --stdin`, never pasting it to you, then redeploy. Then load the sample products and walk me through a test purchase with Stripe's test card.

You can also use this prompt in Claude Code, Codex or Cursor.

The Storefront template running on floo, with sample data

Use your own GitHub repository

View the code

Want the code in your own GitHub account instead? Use this template on GitHub, then give your agent this:

I used https://github.com/getfloo/storefront-template as a template to create my own repository on GitHub. Ask me for my repository's owner/name, then follow https://getfloo.com/agents.md to connect my repository (not the template) to a new floo app, push, and give me the live URL.

What you get

  • Stripe hosts the payment page, so card numbers never reach your app or floo. You set one Stripe key; prices come from your database, and each deploy sets up the Stripe webhook for its URL.
  • Standard and Express shipping, with Standard free over a threshold you choose, and Stripe Tax for sales tax, VAT or GST once you turn it on.
  • An order is paid only when Stripe's signed webhook says so. Stock goes down and the cart empties in the same transaction, and a retried webhook changes nothing.
  • Shoppers sign up with email and see their orders. Guests can check out too.
  • An agent API to list paid orders with shipping addresses, mark them shipped, add products, upload their photos, and change prices and stock.
  • Each product page has its own title and link preview, and a sitemap lists every product as it is added.

Make it yours

Then ask your agent for changes like these:

  • “Take a tracking number when an order is fulfilled and show it on the customer's orders page.”
  • “Add product categories and a filter on the shop page.”
  • “Add a daily cron job that lists products with fewer than five left.”

More templates

  • Approval queue: Team members submit requests; admins approve or reject them with a comment.
  • Team CRM: Companies, contacts, a deal pipeline, and an activity log your agents can write to.
  • Inventory tracker: Items, stock movements, low-stock highlighting, and a daily low-stock check.
  • KPI dashboard: Metric cards with targets and trends, fed by the numbers your agents push.
  • Feedback board: Customer feedback and feature requests, ranked by team votes, with duplicate merging.