尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This is a Next.js project bootstrapped with create-next-app.
Copy .env.example to .env.local and fill in the values (see setup steps below).
Install dependencies and push the database schema:
npm install
npm run db:push
Run the dev server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Authentication uses Auth.js with Google sign-in, backed by a Neon Postgres database through Drizzle ORM.
DATABASE_URL in .env.local.npm run db:push, or generate + run a versioned migration with npm run db:generate followed by npm run db:migrate.http://localhost:3000/api/auth/callback/google (development)https://<your-production-domain>/api/auth/callback/google (production)AUTH_GOOGLE_ID and AUTH_GOOGLE_SECRET in .env.local.Generate a random secret used to sign session cookies:
openssl rand -base64 32
Set it as AUTH_SECRET in .env.local.
Any schema change lives in src/lib/db/schema.ts. After editing it:
npm run db:generate # creates a new SQL migration file under ./drizzle
npm run db:migrate # applies pending migrations to DATABASE_URL
Use npm run db:studio to browse the database with Drizzle Studio.
To learn more about Next.js, take a look at the following resources:
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.