MMA LiveSim
Free UFC DFS optimizer and MMA fight simulator for DraftKings. Live win probabilities for every lineup, plus post-contest EV, ownership, and optimal lineups.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证A project to track our corporate teams walking progress
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A mobile-first team walking challenge platform where teams set geographic goals and track collective walking distances.
Mile Quest is built as a serverless-first application using:
mile-quest/
├── packages/
│ ├── frontend/ # Next.js application
│ ├── backend/ # AWS Lambda functions
│ └── shared/ # Shared types and utilities
├── infrastructure/ # AWS CDK infrastructure code
├── scripts/ # Deployment and setup scripts
├── docs/ # Agent documentation
└── package.json # Monorepo configuration
Clone and install dependencies:
git clone <repository-url>
cd mile-quest
npm install
Set up environment variables:
cp .env.example .env.local
# Edit .env.local with your local configuration
Set up the database:
# Start PostgreSQL (if using Docker)
docker run --name mile-quest-db -e POSTGRES_PASSWORD=password -p 5432:5432 -d postgres:14
# Generate Prisma client and run migrations
cd packages/backend
npm run db:generate
npm run db:push
Start development servers:
# Terminal 1: Start frontend
npm run dev
# Terminal 2: Start backend (Lambda local)
cd packages/backend
npm run dev
npm run dev - Start frontend development servernpm run build - Build all packagesnpm run test - Run tests across all packagesnpm run lint - Lint all packagesnpm run type-check - TypeScript checkingpackages/frontend)npm run dev - Start Next.js dev servernpm run build - Build for productionnpm run start - Start production servernpm run lint - ESLint checkingpackages/backend)npm run dev - Start SAM Local APInpm run build - Build Lambda functionsnpm run db:generate - Generate Prisma clientnpm run db:push - Push schema to databasenpm run db:migrate - Run database migrationsnpm run db:studio - Open Prisma Studiopackages/shared)npm run build - Build shared typesnpm run dev - Watch mode for developmentinfrastructure/)npm run build - Build CDK TypeScript codenpm run synth - Generate CloudFormation templatesnpm run deploy:all - Deploy all AWS infrastructurenpm run deploy:cognito - Deploy Cognito user managementnpm run deploy:database - Deploy RDS database and VPCnpm run deploy:api - Deploy API Gatewaynpm run deploy:monitoring - Deploy CloudWatch monitoringnpm run destroy:all - Remove all AWS infrastructureCreate a .env.local file for local development:
# Database
DATABASE_URL="postgresql://username:password@localhost:5432/mile_quest_dev"
# AWS Cognito
AWS_REGION="us-east-1"
USER_POOL_ID="us-east-1_xxxxxxxxx"
USER_POOL_CLIENT_ID="xxxxxxxxxxxxxxxxxxxxxxxxxx"
# API
API_BASE_URL="http://localhost:3001"
CORS_ORIGIN="http://localhost:3000"
# WebSocket (Pusher)
NEXT_PUBLIC_PUSHER_APP_KEY="your-pusher-app-key"
NEXT_PUBLIC_PUSHER_CLUSTER="us2"
# External Services
MAPBOX_ACCESS_TOKEN="pk.xxxxxxxxxxxxxxxxxxxxxxxxxx"
For AWS deployment, environment variables are managed through:
.env.staging - Staging environment template.env.production - Production environment templatescripts/setup-environment.sh - Automated environment configurationAfter deploying infrastructure, run:
./scripts/setup-environment.sh setup staging
The application uses PostgreSQL with the following main entities:
See packages/backend/prisma/schema.prisma for the complete schema.
packages/frontend/src/packages/backend/src/packages/shared/src/packages/backend/prisma/schema.prismanpm run db:push for developmentnpm run db:migrate for production migrations# Run all tests
npm run test
# Run specific package tests
npm run test --workspace=packages/frontend
npm run test --workspace=packages/backend
One Vercel project serves the Next.js app and the API (/api/* route handlers). Data lives in Neon Postgres from the Vercel Marketplace.
packages/frontend. Vercel installs npm workspaces from the repository root, which builds @mile-quest/shared on install.DATABASE_URL and the direct connection string into DIRECT_URL..env.example:
JWT_SECRET — long random string used to sign access tokensNEXT_PUBLIC_MAPBOX_TOKEN — public browser token for mapsMAPBOX_ACCESS_TOKEN — server-only token for walking directions. Leave empty to use great-circle distancesNEXT_PUBLIC_APP_URL — the Vercel URLNEXT_PUBLIC_API_URL empty so the browser calls this same appnext build.cd packages/frontend
npx prisma migrate deploy
npm run db:seed
Demo seed accounts, after db:seed: [email protected] and [email protected], password password123. Set SEED_RESET=true to replace existing rows. Email delivery for verification codes is not wired up; seeded users are already verified, and new accounts can still sign in before they verify.
PostGIS is not required. Coordinates are JSON and distances are numbers.
The AWS CDK project, SAM template, and deploy workflow have been removed. DEPLOYMENT.md describes that retired path.
Detailed documentation is available in the docs/ directory:
docs/agents/01-architecture/current/docs/agents/02-ui-ux/current/docs/agents/03-data-model/current/docs/agents/04-api-designer/current/docs/agents/11-devops/current/
aws-infrastructure-setup.md - Infrastructure overviewcdk-deployment-guide.md - Complete deployment instructionsdocs/agents/UNLICENSED - Private project
Note: This project uses a living agents documentation system. Check AGENTS.md for current development status and CLAUDE.md for working with the codebase.