尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
This project uses Neon Postgres via Drizzle ORM, with the drizzle-orm/neon-serverless (WebSocket) driver — required because parts of the app need real interactive transactions, which the neon-http driver doesn't support.
.env.example to .env.local and fill in:
DATABASE_URL — pooled connection string (hostname has -pooler in it) for app runtime.DIRECT_URL — non-pooled connection string, used only for running migrations.NEON_API_KEY / NEON_PROJECT_ID — from Neon console → Account → Developer settings, used by the test harness to create/delete an ephemeral branch per test run.pnpm db:generate — generate a migration from lib/db/schema.ts.pnpm db:migrate — apply migrations to whatever DIRECT_URL currently points at.pnpm test — runs the integration suite. Before tests run, test/setup/global-setup.ts creates a fresh Neon branch off the project's default branch, migrates it, and points DATABASE_URL/DIRECT_URL at it for the duration of the run; the branch is deleted afterward. Tests call data-access functions directly against this real database — nothing is mocked.Neon's free plan caps a project at 10 branches, so if a test run is killed before teardown runs, delete the stray test/run-* branch manually (Neon console or neonctl branches list / delete).
Transactional email goes through Resend, with templates built as React components using React Email (lib/email/templates/).
.env.local, set:
RESEND_API_KEY — from the Resend dashboard.EMAIL_FROM — the from-address; must be on a domain verified with Resend, or [email protected] for local testing.ADMIN_EMAIL — recipient for the new-Order notification email sent on checkout.pnpm email:dev — starts React Email's local preview server for templates under lib/email/templates/.pnpm test runs lib/email/send.test.ts, which sends a real email to Resend's sandbox address ([email protected]) to prove the wiring works end-to-end.To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.