NomadVIP | 异度星球
VIP 会员解锁页,集成 PocketBase 支付校验、ZPAY 支付。
服务配置(参考 desktop digital)
ZPAY、PocketBase、MinIO 配置与 C:\project\digital 保持一致,复制 .env.example 为 .env.local 后按需修改:
| 变量 | 说明 | 默认值 |
|---|---|---|
NEXT_PUBLIC_POCKETBASE_URL |
PocketBase 地址 | https://pocketbase.hackrobot.cn |
NEXT_PUBLIC_API_URL / PAYMENT_API_URL |
payjsapi 地址 | https://api.hackrobot.cn |
PAYMENT_PROVIDER |
支付提供商 | zpay |
MINIO_ENDPOINT |
MinIO 端点 | minioweb.hackrobot.cn |
MINIO_BUCKET |
存储桶 | hackrobot |
详见 config/services.config.ts。
Getting Started
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.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
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.