Skip to content

Latest commit

 

History

History
76 lines (66 loc) · 2.5 KB

File metadata and controls

76 lines (66 loc) · 2.5 KB

📂🔒 HealthVault

📌 Overview

HealthVault is a secure and efficient medical record management platform designed to provide quick access to health data while maintaining encrypted privacy. By integrating an AI-powered chatbot, it enhances user experience by offering smart recommendations on home remedies and health-related queries. This platform is tailored for individuals, caregivers, and healthcare professionals who need seamless access to medical records, ensuring better self-care and informed decision-making.

✨ Features

  • Quick & Simple – Fast access to your health data anywhere.
  • 📂 Easy Records Access – Manage all your medical history in one place.
  • 🤖 AI-Chatbot – Get smart recommendations on home remedies & health-related queries.
  • 🔒 Secure Data – Your medical records are encrypted and safe.

🛠️ Tech Stack

  • Frontend: React.js with Vite
  • Backend: Node.js
  • AI/ML: LLama3-8b with Groq AI
  • Database: Supabase

🚀 Installation

Prerequisites

  • Install Node.js
  • Clone the repository:
    git clone https://github.com/Priyanka-28-BM/HealthVault.git
    cd HealthVault
  • Backend Setup:
    cd server
    npm install
    nodemon index.js
    
  • Frontend Setup:
    cd client
    npm install
    npm run dev
    

Setting up LLaMA 3 with Groq for AI Chatbot

  1. Set up environment variables (Add your API key from Groq)
    export GROQ_API_KEY="your_api_key_here"
  2. Run the chatbot server
    // Make a request to the Groq API for generating a chatbot response
         const response = await axios.post(
             "https://api.groq.com", // Groq API endpoint
             {
                 model: "model_name",
                 messages: [{ role: "user", content: message }],
             },
             {
                 headers: { Authorization: `Bearer ${GROQ_API_KEY}` },
             }
         );
    

🚀 Usage

  1. Run the backend server using the setup instructions above.
  2. Start the frontend and access the platform via your browser.
  3. Sign up or log in to securely manage your medical records.
  4. Interact with the AI chatbot for health recommendations.

🤝 Contribution

Contributions are welcome! Feel free to fork the repository and submit a pull request with improvements or new features.

📜 License

This project is licensed under the MIT License.

📬 Contact

For any queries or suggestions, feel free to reach out!