Copy library / What got built / Grok Bot
Frostwell Cakes — a Next.js cake shop built by Grok Bot from GitHub issues
Title and summary are in the original language, not translated.
# Frostwell Cakes — a Next.js cake shop built by Grok Bot from GitHub issues Source: https://github.com/dev-repos/nextjs-cake-shop-grok-bot MIT demo for an AI system design tutorial: a mobile-first Next.js custom-cake shop that Grok Bot built from GitHub issues while being driven from a phone, deployed to Vercel, with orders carried in HMAC-signed links instead of a database, Accept and Decline emails to the bakery, and a stubbed PayPal invoice step.
- What it does
- MIT demo for an AI system design tutorial: a mobile-first Next.js custom-cake shop that Grok Bot built from GitHub issues while being driven from a phone, deployed to Vercel, with orders carried in HMAC-signed links instead of a database, Accept and Decline emails to the bakery, and a stubbed PayPal invoice step.
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
Frostwell Cakes: a mobile-first Next.js custom-cake shop built by Grok Bot from GitHub issues, driven from a phone, deployed to Vercel (AI System Design Deep Dive tutorial)
RongleCat/awesome-grok-bot (GitHub) · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
- Production deploys automatically from main to https://nextjs-cake-shop-grok-bot.vercel.app.
- Preview deployments are created automatically for every pull request; Vercel posts the preview link on the PR.
- The build needs no secrets. At runtime, order requests need ORDER_SECRET (set on Vercel for Production and Preview). Gmail sending is optional; without GMAIL
- The cart is saved in the browser (localStorage).
- Checkout submits a Server Action that validates everything with Zod, prices the cakes from the catalogue on the server, and returns an order number like
- The order lives in signed links: the order is compact JSON (deflated, base64url) in ?d=, and ?sig= is an HMAC-SHA256 with ORDER_SECRET over the purpos
- nodemailer sends two emails through Gmail: to BAKERY_EMAIL with signed Accept / Decline links, and to the customer with a link to their order page. Without
- Accept (/order//accept) shows the order and one button, "Confirm this order". Confirming emails the customer that the order is confirmed, with a link to the
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/dev-repos/nextjs-cake-shop-grok-bot ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- Involves payments, orders or bookings: let the bot draft first and act only after you confirm
- Reads and writes your mailbox: grant read-only and draft access first, and approve before anything is sent
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator