World Vibe Web
The distributed app store for vibe-coded projects. Browse, discover, and install open-source apps from across GitHub.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A Next.js app scaffold with TanStack Query, Axios, NextAuth credentials login, and route-level authentication via a proxy middleware.
/auth/login and /auth/session-detailsCreate 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. |
Install dependencies:
npm install
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
| Script | Description |
|---|---|
npm run dev | Start the Next.js development server. |
npm run build | Build the production app. |
npm run start | Start the production server. |
npm run lint | Run ESLint. |
app/api/auth/[...nextauth]/route.ts — NextAuth credentials handler.src/config/api-client.ts — Axios instance configuration.src/shared/api/client.ts — requestApi wrapper around Axios.src/providers/ — TanStack Query and NextAuth SessionProvider wrappers.src/features/auth/api/index.ts — useLogin and useUser hooks.src/features/auth/types/index.d.ts — Auth types and NextAuth module augmentation.proxy.ts / middleware.ts — Route guard that redirects unauthenticated users to /login.