GithubHelp home page GithubHelp logo

anirudh12032008 / codehealers Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 3.0 16.03 MB

HealthBuddy is an open-source project designed to provide users with a centralized platform for accessing detailed health-related information, including symptoms, precautions, medicines, and nearby hospital details. The project also features a personalized health report generation system. Website - (Not working yet)

Home Page: https://codehealers.vercel.app

License: MIT License

JavaScript 12.90% EJS 78.74% CSS 8.36%

codehealers's Introduction

HealthBuddy

Overview

HealthBuddy is an open-source project designed to provide users with a centralized platform for accessing detailed health-related information, including symptoms, precautions, medicines, and nearby hospital details. The project also features a personalized health report generation system.

Real World Problem Addressed

In the realm of healthcare, obtaining comprehensive and easily accessible health-related information can be a challenging task. Recognizing this gap, HealthBuddy was developed as a solution to address the following real-world problems:

  • Fragmented Health Information: Vital health information is often scattered across various sources, making it cumbersome for individuals to gather complete details about their health concerns.

  • Lack of Personalized Health Insights: Many individuals struggle to receive personalized health insights and reports, tailored to their specific symptoms and conditions.

  • Difficulty in Locating Healthcare Facilities: Locating nearby hospitals and understanding their services can be challenging, especially during emergencies.

HealthBuddy bridges these gaps by providing a unified platform where users can seamlessly access detailed health information, receive personalized reports, and easily locate nearby healthcare facilities, thereby empowering individuals to make informed decisions about their well-being.

Features

  • Symptom Analysis: Users can input symptoms to receive detailed reports about possible diseases along with precautions.

  • Hospital Locator: Find nearby hospitals with detailed information such as address, latitude, longitude, and distance.

  • Personalized Health Reports: Generate customized health reports based on user responses to specific questions, utilizing generative AI models.

Tech Stack

  • Frontend: Express, EJS pages
  • Backend: API calls, Generative AI models (OpenAI, Google Gemini)

Getting Started

  1. Installation:

    npm install
    
  2. Installation:

    node index.js
  3. Create a .env file

  4. Open in Browser

Usage

  1. User Registration:

    • Provide health details and general information.
  2. Symptom Analysis:

    • Enter symptoms and click the analysis button for disease reports and precautions.
  3. Personalized Reports:

    • Answer a set of questions to generate a personalized health report.
  4. Demo:

    • Watch a demo of HealthBuddy in action on YouTube.

Open Source Contributions Guide

HealthBuddy welcomes and encourages contributions from the open-source community. Here's a guide on how you can contribute to the project:

Getting Started

  1. Fork the Repository:

  2. Clone Your Fork:

    • Clone the forked repository to your local machine using the following command:
      git clone https://github.com/anirudh12032008/HealthBuddy.git
  3. Create a Branch:

    • Create a new branch for your contribution:
      git checkout -b feature/your-feature-name

Making Changes

  1. Code Away:

    • Implement your changes or add new features.
  2. Commit Changes:

    • Commit your changes with clear and concise messages:
      git commit -m "Add your meaningful commit message here"
  3. Push Changes:

    • Push your changes to your fork on GitHub:
      git push origin feature/your-feature-name

Submitting a Pull Request

  1. Create a Pull Request:

    • Navigate to the HealthBuddy repository on GitHub.
    • Click on the "New Pull Request" button.
    • Select the branch you just pushed and set up the pull request.
  2. Describe Your Changes:

    • Provide a clear and detailed description of your changes in the pull request.
  3. Review Process:

    • The maintainers will review your contribution and may provide feedback or request modifications.
  4. Merge:

    • Once approved, your pull request will be merged into the main branch.

Code Standards

  • Follow the existing code style and guidelines used in the project.

Issues

  • Check the project issues for tasks that need attention.
  • If you plan to work on an existing issue, comment on it to let others know.

Thank You!

Thank you for considering contributing to HealthBuddy! Your efforts help make this project better for everyone. If you have any questions or need assistance, feel free to reach out to the project maintainers.

License

This project is licensed under the MIT License.

Contact

For any inquiries or suggestions, feel free to contact the project maintainers:

codehealers's People

Contributors

aishanaaz19 avatar anirudh12032008 avatar vijaycode007 avatar

Watchers

 avatar

codehealers's Issues

Updated login.ejs

`<%- include("components/header.ejs") %>

<style> * { font-family: 'Poppins', sans-serif; } .container { position: relative; width: 70vw; height: 80vh; background: #fff; border-radius: 15px; box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.3); overflow: hidden; } .container::before { content: ""; position: absolute; top: 0; left: -50%; width: 100%; height: 100%; background-color: #0D9276; z-index: 6; transform: translateX(100%); transition: 1s ease-in-out; } .signin-signup { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-around; z-index: 5; } form { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 40%; min-width: 238px; padding: 0 10px; } form.sign-in-form { opacity: 1; transition: 0.5s ease-in-out; transition-delay: 1s; } form.sign-up-form { opacity: 0; transition: 0.5s ease-in-out; transition-delay: 1s; } .title { font-size: 2rem; color: #0D9276; margin-bottom: 3rem; } .input-field { width: 100%; height: 3rem; background: #fff; margin: 0.75rem; border-bottom: 1px solid #666; display: flex; align-items: center; } .input-field i { flex: 1; text-align: center; color: #666; font-size: 1rem; } .input-field input { flex: 5; background: none; border: none; outline: none; width: 100%; font-size: 1rem; font-weight: 500; color: #666; } .btn { width: 30%; height: auto; border: 1px solid #0D9276; border-radius: .6rem; background: #0D9276; color: #fff; font-weight: 500; margin: 2rem 0; padding: 10px; font-size: .8rem; text-transform: uppercase; cursor: pointer; } .btn:hover { background: #fff; color: #0D9276; } #sign-up-btn{ border: 1px solid #fff; } #sign-in-btn{ border: 1px solid #fff; } a { text-decoration: none; } .panels-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-around; } .panel { display: flex; flex-direction: column; align-items: center; justify-content: space-around; width: 35%; min-width: 238px; padding: 0 10px; text-align: center; z-index: 6; } .left-panel { pointer-events: none; } .content { color: #fff; transition: 1.1s ease-in-out; transition-delay: 0.5s; } .panel h3 { font-size: 24px; font-weight: 600; } .panel p { font-size: 15px; padding: 10px 0; } .image { width: 100%; transition: 1.1s ease-in-out; transition-delay: 0.4s; } .left-panel .image, .left-panel .content { transform: translateX(-200%); } .right-panel .image, .right-panel .content { transform: translateX(0); } .account-text { display: none; } /*Animation*/ .container.sign-up-mode::before { transform: translateX(0); } .container.sign-up-mode .right-panel .image, .container.sign-up-mode .right-panel .content { transform: translateX(200%); } .container.sign-up-mode .left-panel .image, .container.sign-up-mode .left-panel .content { transform: translateX(0); } .container.sign-up-mode form.sign-in-form { opacity: 0; } .container.sign-up-mode form.sign-up-form { opacity: 1; } .container.sign-up-mode .right-panel { pointer-events: none; } .container.sign-up-mode .left-panel { pointer-events: all; } /*Responsive*/ @media (max-width:779px) { .container { width: 100vw; height: 100vh; } } @media (max-width:635px) { .container::before { display: none; } form { width: 80%; } form.sign-up-form { display: none; } .container.sign-up-mode2 form.sign-up-form { display: flex; opacity: 1; } .container.sign-up-mode2 form.sign-in-form { display: none; } .panels-container { display: none; } .account-text { display: initial; margin-top: 30px; } } @media (max-width:320px) { form { width: 90%; } } </style>

Sign in

Don't have an account? Sign up

Sign up

Already have an account? Sign in

Member of Health Buddy?

Log In to get back in your account.

Sign in

New to Health Buddy?

Register Now! To get instance service on your emergency.

Sign up
<script>
    const sign_in_btn = document.querySelector("#sign-in-btn");
    const sign_up_btn = document.querySelector("#sign-up-btn");
    const container = document.querySelector(".container");
    const sign_in_btn2 = document.querySelector("#sign-in-btn2");
    const sign_up_btn2 = document.querySelector("#sign-up-btn2");
    sign_up_btn.addEventListener("click", () => {
    container.classList.add("sign-up-mode");
    });
    sign_in_btn.addEventListener("click", () => {
    container.classList.remove("sign-up-mode");
    });
    sign_up_btn2.addEventListener("click", () => {
    container.classList.add("sign-up-mode2");
    });
    sign_in_btn2.addEventListener("click", () => {
    container.classList.remove("sign-up-mode2");
    });
</script>

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.