Skip to content

ebypj/MindFit-Loop

Repository files navigation

MindFit Loop

Behavior & Fitness Intelligence System

A web-based tool that analyzes your daily habits—sleep, screen time, exercise, mood, and diet—to give you personalized health insights and recommendations.


Quick Start

Step 1: Open Terminal in the Project Folder

Navigate to the MindFitLoop folder:

cd c:\Users\MindFitLoop

Step 2: Start the Local Server

Run this command to start a web server:

python -m http.server 8000

You should see:

Serving HTTP on :: port 8000 (http://[::]:8000/) ...

Step 3: Open in Browser

Open your web browser and go to:

http://localhost:8000/app.html

📖 What to Try

  1. Enter your daily habits – Fill in sleep hours, screen time, exercise, mood, and food type

  2. Click "Generate Intelligence Report" – Get instant health insights

  3. View your results:

    • Health Score (0–100)
    • Risk Level (Low / Medium / High)
    • Habit Loop detection (are you stuck in a bad pattern?)
    • Future predictions based on your habits
    • Smart suggestions to improve
    • Personalized routine plan
  4. Navigate the site:

    • Click About to learn more
    • Click Features to see what's included
    • Click Impact to see UN Sustainable Development Goals
    • Click Contact for feedback

🔐 Login Page

First-time? Start at:

http://localhost:8000/index.html

Test credentials:

  • Email: any valid email (e.g., test@example.com)
  • Password: at least 6 characters

Or click Continue as Guest


🛑 Stop the Server

Press Ctrl+C in the terminal to stop the server.


📁 Project Files

  • index.html – Login page
  • app.html – Main dashboard & analysis tool
  • style.css – Dashboard styling
  • login.css – Login page styling
  • script.js – Dashboard logic
  • login.js – Login page logic

💡 Tips

  • Allow 2–3 seconds before clicking anything on first load (splash screen)
  • Use Guest mode to skip login
  • Your analysis runs completely in the browser—no data is saved

Enjoy exploring your health patterns! 🌟

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors