An open API service indexing awesome lists of open source software.

https://github.com/nikolailehbrink/healyou

AI-powered health self-assessment and personalized therapy plan platform with a user-focused interface.
https://github.com/nikolailehbrink/healyou

ai gpt-4-turbo healthcare nextjs openai-api react shadcn-ui supabase tailwindcss

Last synced: 2 months ago
JSON representation

AI-powered health self-assessment and personalized therapy plan platform with a user-focused interface.

Awesome Lists containing this project

README

          

# HealYou

A comprehensive self-care and therapy web application. HealYou integrates AI for personalized health assessments and therapy plans, leveraging a user-centric design approach for optimal user experience.

> [!Caution]
> This is a demo project, that I build for my portfolio. In their [usage policies](https://openai.com/policies/usage-policies) OpenAI discourages the use of its API for these use cases:
>
> > Don’t perform or facilitate the following activities that may significantly impair the safety, wellbeing, or rights of others, including:
> >
> > - a. Providing tailored legal, medical/health, or financial advice without review by a qualified professional and disclosure of the use of AI assistance and its potential limitations

![Header image](https://github.com/nikolailehbrink/healyou/assets/38915700/868b32cf-47d8-4386-861f-ecc0358e472c)

## ✨ Features

- **AI-Driven Diagnosis**: Offers an intelligent self-diagnosis tool, utilizing AI algorithms for health assessments.
- **Personalized Therapy Plan**: Users get access to customized therapeutic strategies based on their diagnosis.
- **Authentication**: Implements user authentication using [Supabase Auth](https://supabase.com/docs/guides/auth) and social logins for Google, GitHub, and LinkedIn.

## 📽️ Demo

https://github.com/nikolailehbrink/healyou/assets/38915700/5727f14c-3356-4f3e-b33d-c00142904743

## 🛠️ Technologies

- **Single Page Application**: Built with [Next.js 14](https://nextjs.org/) in [TypeScript](https://www.typescriptlang.org/).
- **Modern Design**: Styled using [Tailwind CSS](https://tailwindcss.com/) and components from [shadcn/ui](https://ui.shadcn.com/), ensuring a visually appealing and responsive interface.
- **AI Integration**: Utilizes the [Vercel AI SDK](https://sdk.vercel.ai/docs) to connect to the [OpenAI API](https://platform.openai.com/api-keys) for AI-driven health assessments and therapy planning.

## 💻 Running Locally

Before running HealYou locally, ensure you have the latest versions of Node.js and npm installed.

### Preliminary Requirements

Before proceeding with the setup, it's essential to sign up for necessary services:

- **Supabase:** Sign up at [Supabase](https://supabase.io/) and create a new project. This will provide you with the `Supabase URL` and `Supabase Anon Key` required for the environment variables.
- **OpenAI:** Register at [OpenAI](https://platform.openai.com/api-keys) to obtain an `OpenAI API Key`. This key is needed to integrate AI functionalities within the HealYou app.

### Setting Up the Environment

1. Clone the repository:

```shell
git clone https://github.com/nikolailehbrink/healyou.git
```

2. Navigate to the project directory:

```bash
cd healyou
```

3. Install the dependencies:

```bash
npm install
```

### Setting up Environment Variables

1. Create a `.env.local` file in the root directory of the project.
2. Paste the following code into the file:

```bash
NEXT_PUBLIC_SUPABASE_URL=YourSupabaseURL
NEXT_PUBLIC_SUPABASE_ANON_KEY=YourSupabaseAnonKey

OPENAI_API_KEY=YourOpenAIAPIKey
```

### Starting the Application

1. Start the development server:

```bash
npm run dev
```

2. Open `http://localhost:3000` in your browser to view the application.