Skip to content

Repository files navigation

FitTrack

A modern, premium fitness and health tracking web application designed to help users achieve their goals with precision and a beautiful user experience.

Built with Next.js (App Router), Tailwind CSS v4, shadcn/ui, and Prisma ORM.

Features

  • Intelligent Goal Engine: Set goals (Lose, Maintain, or Gain Weight). Automatically calculates recommended daily calories and macros (Protein, Carbs, Fats) based on baseline stats and activity level.
  • Diet & Nutrition Logging: Search for foods, add custom foods, and track exact macronutrient intake against daily targets.
  • Workout Tracking: Log exercises, sets, reps, bodyweight exercises, and time-based activities. Automatically calculates total calories burned.
  • Progress Analytics: Beautiful, responsive charts dashboard (using Recharts) that provides a continuous timeline of weight trends, workout durations, and calorie expenditure, with PDF export.
  • Health Tools: Built-in utilities like BMI (Body Mass Index) and BMR (Basal Metabolic Rate) calculators.
  • Premium UI/UX: Sleek dark mode, glassmorphism, interactive charts, and highly polished components.

Tech Stack

Getting Started

Prerequisites

  • Node.js 18+
  • npm, yarn, pnpm, or bun

Installation

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Set up the database:
    npx prisma generate
    npx prisma db push
  4. Run the seed script (optional, to populate food database):
    npx tsx prisma/seed.ts
  5. Start the development server:
    npm run dev

Open http://localhost:3000 with your browser to see the app.

License

This project is licensed under the MIT License.

About

A premium, modern web application built with Next.js and Tailwind CSS for comprehensive fitness and health tracking. It features an intelligent goals engine for personalized macro targets, detailed diet and workout logging, BMI/BMR calculators, and beautiful, interactive data visualization to track your weight and fitness progress over time.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages