Skip to content

Repository files navigation

FitZen Pro

Your Personal Fitness Companion 💪

A full-stack fitness tracking platform — workouts, meals, sleep, water, and goals — in one clean dashboard.

Live DemoBackend


GitHub starsGitHub forksGitHub issuesGitHub license

JavaSpring BootSpring SecurityReactViteJWTMySQL


📖 Overview

FitZen Pro is a secure, responsive fitness tracker built to replace the "one app per habit" problem. Instead of juggling separate apps for workouts, meals, sleep, and goals, everything lives on one dashboard, backed by JWT-authenticated REST APIs and a MySQL database.

Frontend (React + Vite) and backend (Spring Boot + Spring Security) run as independent services, communicating over REST — a clean, cloud-deployable, production-style architecture.

❓ Why FitZen Pro

ProblemFitZen Pro's Answer
Fitness data scattered across multiple appsOne dashboard for workouts, meals, sleep, water & goals
Weak or session-based auth in hobby projectsReal JWT auth + Spring Security + BCrypt password hashing
Static, table-heavy trackersInteractive charts, progress bars, animated dashboard
Frontend/backend tightly coupledFully decoupled React SPA ↔ Spring Boot REST API

✨ Features

🔐 Authentication

  • JWT-based login & registration
  • BCrypt password encryption
  • Spring Security–protected routes

📊 Dashboard

  • Weekly activity graph
  • Water intake progress
  • Sleep summary & calories burned
  • Steps counter, daily goals

💪 Workouts

  • Log workouts by category
  • Exercise history
  • Daily progress tracking

🍎 Meals

  • Meal logging & calorie tracking
  • Daily nutrition records

😴 Sleep

  • Sleep hours & quality logging
  • Sleep statistics

🎯 Goals

  • Create & track fitness goals
  • Visual progress bars

👤 Profile & ⚙️ Settings

  • Editable profile, theme preferences, secure logout

🖥️ Preview

LoginDashboard
LoginDashboard
Weekly ActivityGoal Tracking
ActivityGoals

🛠️ Tech Stack

LayerStack
FrontendReact 19, Vite, React Router, Axios, CSS
BackendSpring Boot 3, Spring Security, JWT, Maven
DatabaseMySQL
DeploymentVercel (frontend) · Render (backend)

🚀 Getting Started

# Clone
git clone https://github.com/Nicode2707/FitZen-Pro.git
# Frontendcd FitZen-Pro/Frontend/fitzen-frontend
npm install
npm run dev
# Backend (in a new terminal)cd FitZen-Pro/backend/fitzen-backend
mvn spring-boot:run

Set your MySQL credentials and JWT secret in application.properties (backend) and your API base URL in .env (frontend) before running.

🌐 Live Demo

👨‍💻 Author

Niraj Kumar — Java Developer, JIS College of Engineering GitHub @Nicode2707

If FitZen Pro helped you, consider giving it a star!

About

A Full Stack Fitness Tracking Web Application built using React, Spring Boot, MySQL and JWT Authentication.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages