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.
Track team walking goals and build healthy habits with your colleagues
Sports & fitnessTypeScript · JavaScriptGitHub @bailedkOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
A project to track our corporate teams walking progress
Translation pending
Taken from the repository README
Loading the full README.
Read the full 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.