A Cake Shop Built by Grok Bot
Seven issues. One Bot. A live cake shop.
Next.js and Vercel, built from GitHub issues by a Bot you steer from your phone
Chapters
- Intro
- What You Need
- The Idea
- Meet Your Bot
- Build the Site
- Grok Images
- Deploy
- Customiser
- Cart & Order
- Accept & PayPal
- Agent-Friendly
- Recap
Who it's for
Beginners who want to hand a whole small project to an agent and stay in control from a phone.
The Signed Link
function sign(purpose, orderNumber, data) {
return createHmac("sha256", ORDER_SECRET)
.update(`fw1.${purpose}.${orderNumber}.${data}`)
.digest("base64url");
}
// purpose: view, accept, decline or confirmed
const ok = timingSafeEqual(
given, sign(purpose, orderNumber, data));
if (!ok) return "This order link isn't valid";
By the End You Will
Plan
Write the work as GitHub issues, one per step
Delegate
Let a Grok Bot build, test and open the PRs
Ship
Live on Vercel, a preview for every PR
Take orders
Signed email links and a PayPal invoice, in dollars
Coming next in the series: Five Bots, One Computer