尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Paste any URL, instantly see how your page looks when shared on Twitter/X, LinkedIn, Facebook, Slack, Discord, and Google. Detect broken meta tags, missing OG images, truncated titles, and SEO issues before they cost you clicks.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Next.js 16 (app router) + Tailwind CSS + Drizzle ORM + Neon PostgreSQL
Auto-deploys to Vercel on push to main.
PostgreSQL via Neon. Connection string is available as DATABASE_URL environment variable at runtime — already configured in Vercel.
Schema changes are auto-applied to the database when merged to main via GitHub Actions.
Import db from @/db and your tables from @/db/schema:
1. All database tables must be defined in db/schema.ts
2. App auto-deploys on push to main (including db schema)
These files are pre-configured infrastructure. Do not edit or remove them:檢視完整 README ↗Next.js 16 (app router) + Tailwind CSS + Drizzle ORM + Neon PostgreSQL
Auto-deploys to Vercel on push to main.
PostgreSQL via Neon. Connection string is available as DATABASE_URL environment variable at runtime — already configured in Vercel.
Edit db/schema.ts:
import { pgTable, serial, text, timestamp } from "drizzle-orm/pg-core";
export const posts = pgTable("posts", {
id: serial("id").primaryKey(),
title: text("title").notNull(),
body: text("body"),
createdAt: timestamp("created_at").defaultNow(),
});
Schema changes are auto-applied to the database when merged to main via GitHub Actions.
Import db from @/db and your tables from @/db/schema:
import { db } from "@/db";
import { posts } from "@/db/schema";
import { eq } from "drizzle-orm";
// Select all
const allPosts = await db.select().from(posts);
// Insert
await db.insert(posts).values({ title: "Hello world" });
// Filter
const post = await db.select().from(posts).where(eq(posts.id, 1));
// app/api/posts/route.ts
import { db } from "@/db";
import { posts } from "@/db/schema";
import { NextResponse } from "next/server";
export async function GET() {
const allPosts = await db.select().from(posts);
return NextResponse.json(allPosts);
}
export async function POST(req: Request) {
const { title, body } = await req.json();
const newPost = await db.insert(posts).values({ title, body }).returning();
return NextResponse.json(newPost[0]);
}
db/schema.tsThese files are pre-configured infrastructure. Do not edit or remove them:
db/index.ts — database connectiondrizzle.config.ts — database sync config.github/workflows/push-schema.yml — auto-applies schema on merge.env.example — documents environment variables