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 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
- 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 and social logins for Google, GitHub, and LinkedIn.
demo.mp4
- Single Page Application: Built with Next.js 14 in TypeScript.
- Modern Design: Styled using Tailwind CSS and components from shadcn/ui, ensuring a visually appealing and responsive interface.
- AI Integration: Utilizes the Vercel AI SDK to connect to the OpenAI API for AI-driven health assessments and therapy planning.
Before running HealYou locally, ensure you have the latest versions of Node.js and npm installed.
Before proceeding with the setup, it's essential to # for necessary services:
- Supabase: # at Supabase and create a new project. This will provide you with the
Supabase URL
andSupabase Anon Key
required for the environment variables. - OpenAI: Register at OpenAI to obtain an
OpenAI API Key
. This key is needed to integrate AI functionalities within the HealYou app.
-
Clone the repository:
git clone https://github.com/nikolailehbrink/healyou.git
-
Navigate to the project directory:
cd healyou
-
Install the dependencies:
npm install
-
Create a
.env.local
file in the root directory of the project. -
Paste the following code into the file:
NEXT_PUBLIC_SUPABASE_URL=YourSupabaseURL NEXT_PUBLIC_SUPABASE_ANON_KEY=YourSupabaseAnonKey OPENAI_API_KEY=YourOpenAIAPIKey
-
Start the development server:
npm run dev
-
Open
http://localhost:3000
in your browser to view the application.