LokshinEats
Order food from your favourite township restaurants, spaza shops, and local food businesses.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗HomeCook is a mobile-first marketplace where home cooks list their dishes and buyers order from them. Cooks are paid by cash, Interac e-Transfer or card (through Stripe).
Stack: Next.js 15 (App Router) + Tailwind CSS 4, Postgres on Neon, Auth.js (Google login), Vercel Blob (photos), Stripe Connect Express.
To rename the app, change src/lib/brand.ts. The brand colours are in src/app/globals.css. The city and cuisine lists cooks pick from are in src/lib/cities.ts and src/lib/cuisines.ts.
npm install
cp .env.example .env.local # set DATABASE_URL to any Postgres and AUTH_SECRET to random text
npm run dev
The app creates its tables the first time it connects, so there's no SQL to run. Without a Blob token, photos are saved in .uploads/ locally.
DATABASE_URL.BLOB_READ_WRITE_TOKEN.AUTH_SECRET: any long random text, for example from https://generate-secret.vercel.app/32NEXT_PUBLIC_SITE_URL: e.g. https://your-app.vercel.apphttps://<your-domain>/api/auth/callback/googleAUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET.https://<your-domain>/api/stripe/webhook for checkout.session.completed and checkout.session.async_payment_succeeded.STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET.STRIPE_SECRET_KEY is empty, the app runs with cash and e-Transfer only.order_items) are saved on the server, which takes prices and availability from the database.PLATFORM_FEE_PERCENT if you set one. An unpaid card order is hidden from the cook until payment succeeds.Run these in the Neon SQL editor (Vercel → Storage → your database → Open in Neon):
select count(*) from profiles where is_cook; -- cooks (goal 50)
select count(*) from profiles where is_cook and exists
(select 1 from dishes d where d.cook_id = profiles.id); -- cooks with a listing
select count(*) from orders where status <> 'cancelled'
and (payment_method <> 'card' or paid); -- orders placed (goal 5)
Counting the 20 people who go through the app needs page analytics. One option is Vercel Web Analytics: turn it on in the Vercel dashboard and add @vercel/analytics.