常驻用量

抄作业 / 做成了什么 / Grok Bot

Frostwell Cakes — a Next.js cake shop built by Grok Bot from GitHub issues

标题与摘要为原文,未翻译。

做了什么
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.
场景
收件箱分拣 盯 PR / 仓库 财务运营 写代码上线
资料完整度
  • 作者与原链接有
  • 做了什么有
  • 来源原文摘录有
  • 截图 / 媒体来源未提供
  • 步骤 / 章节有
  • 提示词 / 配置原文来源未提供
  • 结果 / 数字来源未提供
  • 风险提示有
  • 相关条目有

— 表示来源没有给出,本站不补写。

来源原文摘录
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) · 打开原文 ↗

摘自项目 README,照录原文,未翻译。

来源里的步骤 / 要点
  1. Production deploys automatically from main to https://nextjs-cake-shop-grok-bot.vercel.app.
  2. Preview deployments are created automatically for every pull request; Vercel posts the preview link on the PR.
  3. 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
  4. The cart is saved in the browser (localStorage).
  5. 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
  6. 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
  7. 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
  8. 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

照录来源原文,未翻译。

提示词

来源没有给出可直接复制的提示词原文。

怎么复制
  1. 打开仓库:github.com/dev-repos/nextjs-cake-shop-grok-bot ↗
  2. 读 README,把仓库链接发给你的 Bot,让它按 README 复现
  3. 先在小范围跑通,再加 routine
风险与限制
  • 涉及付款、下单或预订:先让 Bot 只起草,确认后再执行
  • 会读写你的邮箱:先只给只读和草稿权限,发信前人工审批
  • 作者的结果不保证能复现,以原帖为准
用量预估
用金属计算器估一下