Skip to content

πŸƒβ€β™‚οΈ Modern running goal tracking app with mobile-first design

License

Notifications You must be signed in to change notification settings

bryant24hao/runtracker-pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸƒβ€β™‚οΈ WellRun

Run well, live well.

Deploy with Vercel License: MIT TypeScript Next.js React

A modern, intelligent running companion that transforms your fitness journey into measurable progress.

πŸš€ Live Demo β€’ πŸ“± Mobile Test β€’ πŸ› Report Bug β€’ πŸ’‘ Request Feature


✨ Features

🎯 Smart Goal Management

  • Set personalized running targets (distance, time, frequency)
  • Real-time progress tracking with visual analytics
  • Intelligent goal recommendations based on your history

πŸ“Š Comprehensive Activity Logging

  • Detailed run tracking (pace, distance, duration, location)
  • Photo attachments for memorable routes
  • Smart data recognition from screenshots and manual input

πŸ“± Mobile-First Experience

  • Native iOS-style interface for seamless mobile usage
  • Progressive Web App (PWA) capabilities
  • Responsive design that works on any device

🍎 Apple Ecosystem Integration

  • Import workouts from Apple Health and Fitness
  • Seamless data synchronization
  • Native iOS app support via Capacitor

πŸ“ˆ Powerful Analytics

  • Personal best tracking and achievements
  • Trend analysis and performance insights
  • Beautiful data visualizations

πŸ–₯️ Screenshots

πŸ“± Mobile Experience

Dashboard Goal Tracking Activity Logging
Dashboard Goals Activities

πŸ’» Desktop Experience

Desktop View


πŸš€ Quick Start

🐳 One-Click Deploy

Deploy WellRun to Vercel with one click:

Deploy with Vercel

πŸ’» Local Development

# Clone the repository
git clone https://github.com/bryant24hao/runtracker-pro.git
cd runtracker-pro

# Install dependencies
npm install
# or
pnpm install
# or
yarn install

# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your configuration

# Start the development server
npm run dev

Open http://localhost:3000 in your browser.


πŸ—οΈ Tech Stack

Category Technologies
Frontend Next.js 15, React 19, TypeScript
Styling Tailwind CSS, Radix UI, Framer Motion
Database PostgreSQL (Neon), SQLite (local)
Authentication NextAuth.js
Deployment Vercel, Docker, Railway
Mobile PWA, Capacitor (iOS)

πŸ“± Mobile Support

WellRun is designed mobile-first with specific optimizations for different platforms:

iOS Safari

  • Native iOS UI components and animations
  • Optimized touch interactions
  • PWA installation support

Android Chrome

  • Material Design influences
  • Chrome Web App features
  • Offline capability

Debug Pages


βš™οΈ Configuration

Environment Variables

Create a .env.local file in the root directory:

# Database Configuration
DATABASE_URL="postgresql://user:password@host:port/database"

# NextAuth Configuration (if using authentication)
NEXTAUTH_URL="https://your-domain.com"
NEXTAUTH_SECRET="your-secret-key"

# Optional: Analytics
NEXT_PUBLIC_GA_ID="G-XXXXXXXXXX"

Database Setup

Option 1: Neon PostgreSQL (Recommended)

  1. Sign up at Neon
  2. Create a new project
  3. Copy the connection string to DATABASE_URL

Option 2: Local SQLite

For development, simply set:

DATABASE_URL="file:./local.db"

The app will automatically create and initialize the database.


πŸ—οΈ Architecture

wellrun/
β”œβ”€β”€ πŸ“± app/                 # Next.js App Router
β”‚   β”œβ”€β”€ πŸ”Œ api/            # API routes
β”‚   β”œβ”€β”€ πŸ“„ page.tsx        # Main application
β”‚   └── 🎨 layout.tsx      # Root layout
β”œβ”€β”€ 🧩 components/         # React components
β”‚   β”œβ”€β”€ πŸŽͺ ui/             # Reusable UI components
β”‚   β”œβ”€β”€ πŸ“± mobile-*.tsx    # Mobile-specific components
β”‚   └── 🍎 apple-*.tsx     # Apple ecosystem integration
β”œβ”€β”€ πŸ”§ lib/               # Utilities and configurations
β”œβ”€β”€ πŸ—ƒοΈ scripts/           # Database migrations
└── 🎨 styles/            # Global styles

πŸ”Œ API Reference

Goals API

GET    /api/goals           # List all goals
POST   /api/goals           # Create a new goal
PUT    /api/goals/[id]      # Update a goal
DELETE /api/goals/[id]      # Delete a goal

Activities API

GET    /api/activities      # List all activities
POST   /api/activities      # Log a new activity
PUT    /api/activities/[id] # Update an activity
DELETE /api/activities/[id] # Delete an activity

Statistics API

GET    /api/stats           # Get comprehensive statistics

🀝 Contributing

We love contributions! Here's how you can help make WellRun even better:

πŸ› Bug Reports

Found a bug? Please open an issue with:

  • Clear description of the problem
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots (if applicable)

πŸ’‘ Feature Requests

Have an idea? We'd love to hear it! Open an issue with:

  • Clear description of the feature
  • Use case and benefits
  • Any implementation ideas

πŸ”§ Development

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Add tests if applicable
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to the branch: git push origin feature/amazing-feature
  7. Open a Pull Request

πŸ“‹ Roadmap

  • Social Features - Share runs and compete with friends
  • Advanced Analytics - AI-powered training insights
  • Wearable Integration - Garmin, Fitbit, and other devices
  • Nutrition Tracking - Integrate meal planning
  • Training Plans - Structured workout programs
  • Community Challenges - Global and local competitions

🎯 Performance

WellRun is built for speed and efficiency:

  • ⚑ Lighthouse Score: 95+ across all metrics
  • πŸ“± Mobile Optimized: First-class mobile experience
  • πŸ”„ Real-time Updates: Instant data synchronization
  • πŸ’Ύ Offline Support: Progressive Web App capabilities

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ™ Acknowledgments


πŸ“ž Support

Need help? We're here for you:


Made with ❀️ for runners, by runners

⭐ Star this project β€’ 🍴 Fork it β€’ πŸ“± Try it now

WellRun - Run well, live well. πŸƒβ€β™‚οΈβœ¨

About

πŸƒβ€β™‚οΈ Modern running goal tracking app with mobile-first design

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages