尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An MTG (Magic: The Gathering) game tracking website where users can log games, manage decks, and view statistics about their playgroup.
Clone the repository and install dependencies:
git clone https://github.com/your-username/karakas.git
cd karakas
npm install
Create a .env file in the project root:
# Database (required)
TURSO_DATABASE_URL="libsql://your-database.turso.io"
TURSO_AUTH_TOKEN="your-auth-token"
# App URL (defaults to http://localhost:3000)
NEXT_PUBLIC_APP_URL="http://localhost:3000"
# OAuth providers (all optional)
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
APPLE_CLIENT_ID=""
APPLE_TEAM_ID=""
APPLE_KEY_ID=""
APPLE_PRIVATE_KEY=""
# Email (optional — logs to console in dev if missing)
RESEND_API_KEY=""
FROM_EMAIL="Karakas <[email protected]>"
Set up the database and generate the Prisma client:
npm run db:push
npm run db:generate
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
| Command | Description |
|---|---|
npm run dev | Start development server |
npm run build | Generate Prisma client and build for production |
npm run start | Run production server |
npm run lint | Run ESLint |
npm run db:migrate | Run Prisma migrations |
npm run db:push | Push schema changes to database |
npm run db:studio | Open Prisma Studio GUI |
npm run db:generate | Generate Prisma client |
npm run test | Run unit/integration tests (Vitest) |
npm run test:watch | Run tests in watch mode |
npm run test:coverage | Run tests with coverage report |
npm run test:e2e | Run Playwright E2E tests |
npm run test:e2e:ui | Run E2E tests with Playwright UI |