尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Recipe recommendation app prototype (Next.js + Capacitor iOS wrapper)
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
A recipe recommendation app: users onboard with their diets/allergens/preferences,
get a personalized dashboard of eligible recipes, save some for later, and log
what they cook. Built with Next.js (App Router), Prisma/Postgres, and Auth.js.
See DECISIONS.md for the running log of design/scope
decisions made while building this.查看完整 README ↗A recipe recommendation app: users onboard with their diets/allergens/preferences, get a personalized dashboard of eligible recipes, save some for later, and log what they cook. Built with Next.js (App Router), Prisma/Postgres, and Auth.js.
See DECISIONS.md for the running log of design/scope
decisions made while building this.
capacitor.config.ts).env.example)npm install
cp .env.example .env # then fill in DATABASE_URL / AUTH_SECRET at minimum
npx prisma migrate dev
npm run db:seed
npm run dev
Open http://localhost:3000.
See .env.example for the full list. Notes:
DATABASE_URL — Postgres connection string.AUTH_SECRET — generate with openssl rand -base64 32.APP_URL — base URL used to build links in emails (e.g. password reset).RESEND_API_KEY / EMAIL_FROM — optional. Without RESEND_API_KEY set,
password-reset links are logged to the server console instead of emailed,
so local dev works without a Resend account.| Command | Purpose |
|---|---|
npm run dev | Start the dev server |
npm run build / npm run start | Production build / run |
npm run lint | ESLint |
npm run test | Run the Vitest suite |
npm run db:seed | Seed the DB from prisma/seed/ |
[email protected] npx tsx scripts/create-admin.ts | Create/promote an admin user (see script header for options) |
npx tsx scripts/find-recipe-photos.mjs | Search Wikimedia Commons for candidate recipe photos, write prisma/seed/photo-manifest.json |
npx tsx scripts/download-recipe-photos.mjs | Download the manifest's chosen photos into public/recipe-photos/ |
/admin is a hidden route, only reachable by a user with isAdmin: true.
It shows basic usage stats and lets you toggle a recipe's active/allergen
review status and replace its photo. Create an admin account with
scripts/create-admin.ts (see table above) — there's no invite-code system,
just a boolean on the User row, so promote an existing account or create a
dedicated one.
This app is a standard Next.js + Postgres app — deploy it anywhere that supports both (Vercel + Neon is what it was built against):
DATABASE_URL, AUTH_SECRET, APP_URL, and (optionally)
RESEND_API_KEY / EMAIL_FROM as environment variables on your host.npx prisma migrate deploy against the production database.npm run db:seed to load the recipe catalog, and
ADMIN_EMAIL=... npx tsx scripts/create-admin.ts to create an admin.vercel --prod, or your platform's equivalent).