BikeControl (SwiftControl)
使用 Zwift Click、Zwift Play、Shimano Di2 或任何藍牙控制器,搭配 MyWhoosh、Rouvy、Zwift 等。iOS、Android、Windows、macOS 均可免費試用。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证正在加载完整 README。 以下为已保存的摘录。
Fantasy NASCAR web app supporting two league types — Pick'em and Tiered
Draft — with versioned scoring rules. Built on Next.js (App Router) and
Prisma against Postgres.
• Next.js 16 (App Router, TypeScript)
• Prisma 7 ORM, @prisma/adapter-pg driver adapter, pg for the Postgres
connection
• Postgres (bring your own — Neon, Supabase, Railway, etc.)
2. Copy .env.example to .env and set DATABASE_URL to your Postgres
connection string:
3. Apply the schema to your database:
Open http://localhost:3000. The homepage
queries the database directly to confirm the connection is working.查看完整 README ↗Fantasy NASCAR web app supporting two league types — Pick'em and Tiered Draft — with versioned scoring rules. Built on Next.js (App Router) and Prisma against Postgres.
@prisma/adapter-pg driver adapter, pg for the Postgres
connectionInstall dependencies:
npm install
Copy .env.example to .env and set DATABASE_URL to your Postgres
connection string:
cp .env.example .env
Apply the schema to your database:
npm run db:migrate
Start the dev server:
npm run dev
Open http://localhost:3000. The homepage queries the database directly to confirm the connection is working.
prisma/schema.prisma — the data model (Users, Leagues, versioned
RuleSets, Seasons, Races, Drivers, Tiers, Picks, Scores).prisma7.config.ts — Prisma 7 moved the datasource connection URL out of
the schema file and into this config file; it reads DATABASE_URL from
the environment.src/lib/prisma.ts — the app's PrismaClient singleton, constructed
with the @prisma/adapter-pg driver adapter (required at runtime in
Prisma 7).prisma/migrations/ — the initial migration, generated from the schema
with prisma migrate diff (no live database was available while
scaffolding this project, so it wasn't created with migrate dev).
Review it, then run npm run db:migrate (prisma migrate deploy)
against a real database.Useful scripts:
npm run db:migrate # apply migrations (prisma migrate deploy)
npm run db:migrate:dev # create + apply a new migration from schema changes
npm run db:studio # browse data in Prisma Studio
DATABASE_URL to
your Postgres connection string (for all environments you plan to
deploy).npm install runs prisma generate automatically via the
postinstall script, so the client is always in sync with the schema.npm run db:migrate against the production database (e.g. from
your machine with DATABASE_URL pointed at production, or via the
Vercel CLI/a one-off job) to create the tables. Migrations aren't run
automatically as part of the build, so a fresh database won't have
tables until you do this once.