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.
- 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.
- Framework: Next.js 16 (App Router)
- Styling: Tailwind CSS v4 & shadcn/ui
- Database: Prisma ORM with PostgreSQL
- Authentication: Better Auth
- Charts: Recharts
- Validation: Zod
- Icons: Lucide React
- Node.js 18+
- npm, yarn, pnpm, or bun
- Clone the repository
- Install dependencies:
npm install
- Set up the database:
npx prisma generate npx prisma db push
- Run the seed script (optional, to populate food database):
npx tsx prisma/seed.ts
- Start the development server:
npm run dev
Open http://localhost:3000 with your browser to see the app.
This project is licensed under the MIT License.