尚未检测到更新。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 |