尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A mobile-first driver app for DROPly — accept deliveries, call vendors and customers, follow the guided pickup → delivery flow, and withdraw earnings.
Built on the same Next.js scaffold as the customer and vendor apps
(TanStack Query, Axios, NextAuth credentials, proxy middleware,
shared DROPly orange/black branding).
/auth/login and /auth/session-details
(not required yet — the app runs on a demo store, see below)Create a .env file in the project root and add the following:
NEXTAUTH_SECRET=your_random_secret_key
NEXT_PUBLIC_API_BASE_URL=https://api.example.com
API_BASE_URL=https://api.example.com
| Variable | Description |
|---|---|
NEXTAUTH_SECRET | Secret used by NextAuth to sign JWTs and session tokens. |
NEXT_PUBLIC_API_BASE_URL | Public API base URL used by the browser-side Axios client. |
API_BASE_URL | Server-side API base URL used by the Next.js server. |
npm install
npm run dev
Open http://localhost:3000 — it redirects to /driver.
Sign in with any phone number + PIN (demo auth).
There is no driver backend yet. All delivery requests, wallet data, and auth run through a demo store:
src/features/driver/api/demo-store.ts — one action per future API call
(acceptDelivery → POST /deliveries/:id/accept, requestWithdrawal →
POST /driver/withdrawals, etc.). Each action has a TODO(backend) note.src/features/driver/api/driver-auth.ts — sessionStorage session; swap for
real apiClient calls when the API lands.| Route | Screen |
|---|---|
/driver | Home — online toggle + available requests |
/driver/deliveries | Active + completed deliveries |
/driver/deliveries/[id] | Delivery details — contacts, call/map, next step |
/driver/wallet | Balance, earnings, withdraw, history |
/driver/profile | Account details + logout |
/driver/login | Phone + PIN sign-in |
AGENTS.md — scaffold conventions (routes stay thin, features implement).