sagarrathod7568 / Health-and-Wellness-App

Introduction The Health and Wellness Project aims to create a platform that provides a holistic and personalized approach to health management. With the increasing importance of maintaining a healthy lifestyle, this project addresses the challenges individuals face in managing their health effectively. The platform integrates various aspects of wel
https://pixel-pole-vault-040.vercel.app
0 stars 0 forks source link
bootstrap chakra-ui chart-js firebase gemini-api html-css javascript oauth2 react

Project Title

Health and Wellness Project

Introduction

The Health and Wellness Project aims to create a platform that provides a holistic and personalized approach to health management. With the increasing importance of maintaining a healthy lifestyle, this project addresses the challenges individuals face in managing their health effectively. The platform integrates various aspects of wellness, including physical activity tracking, nutrition management, mental wellness, and personalized health advice, into a cohesive and user-friendly application.

Project Type

Fullstack

Deployed App

Frontend: https://pixel-pole-vault-040.vercel.app

Directory Structure

pixel-pole-vault-040/ ├─ node_modules/ ├─ public/ ├─ src/ │ ├─ components/ │ ├─ SagarComponents/ │ │ ├─ OmComponents/ │ │ ├─ ArpanComponents/ │ │ └─ SaifComponents/ │ ├─ context/ │ ├─ App.jsx │ ├─ main.jsx │ ├─ hooks/ │ ├─ styles/ │ └─ public/ ├─ index.html ├─ package.json ├─ README.md └─ server.js

Video Walkthrough of the Project

https://youtu.be/K1aRigLCq68?si=wQqD79Be-GSu_1V1

Features

User Authentication: Secure user login and registration using Firebase or Supabase. image

image image image image

AI Health Assistant: Real-time health advice using AI, with dynamic recommendations. image

Physical Activity Tracking: Manual input of exercises, workout recommendations based on goals. image image

image image image

Nutrition Management: Food diary, nutritional analysis, daily intake recommendations. image

Searching and Suggestions: Implemented search with debouncing and edit distance algorithm. image image image

Design Decisions or Assumptions

UI/UX Focus: Prioritized a modern and intuitive interface. image image

Installation & Getting Started

git clone https://github.com/sagarrathod7568/Pixel-Pole-Vault-040.git cd Pixel-Pole-Vault-040 npm install npm run dev

Example Frontend Usage:

Navigate to the "Activity" page to log exercises. Go to the "Nutrition" section to track your meals.

Credentials

For testing authenticated pages, use the following credentials: User: sagarrathod050.com Password: Sagar@7568

APIs Used

Firebase Authentication: For secure login and registration. OpenAI/Google Gemini API: For AI-based health advice. Supabase/Firebase Database: For data storage and retrieval.

API Endpoints

User Authentication: POST /api/auth/register: Register a new user. POST /api/auth/login: User login.

Technology Stack

Frontend: React.js, Context API, Custom Hooks, Bootstrap for responsive design. Backend: Node.js, Express.js, Firebase. Database: Firebase Firestore. AI Integration: Google Gemini API for the AI Health Assistant. Other Libraries/Modules: Axios, bcrypt, JSON Web Token (JWT) for authentication.