Skip to content

An application to track user moods based on the standard phq-9 assessment

Notifications You must be signed in to change notification settings

kanugurajesh/EmoTrack

Repository files navigation

EmoTrack

EmoTrack is an app designed to track depression and provide remedies to patients. 🌟 Depression often begins with subtle symptoms and gradually intensifies. Many people may not even realize they're experiencing it until it's severe, potentially leading to serious consequences, including suicide. 😔

However, depression has a straightforward solution: early treatment. If individuals can identify depression in its early stages and seek proper care, it can be easily prevented. 🛡️ Unfortunately, many can't afford psychologists, don't have access to them, or hesitate to seek help without confirmation or proof. 💸🚫

That's why I built EmoTrack. This app helps users take a standard PHQ-9 test to understand their mental condition. 📋 It also features a Gemini bot for asking questions, making it easier for people to get the support they need. 🤖💬

🌟 I have added a dashboard where users can easily track their PHQ-9 scores over time and download their charts. Personalized feedback is provided based on their past scores. Additionally, there is a chat feature that offers guidance to improve mental health based on previous scores. 💬

📞 Finally, I have included a contact form so users can reach out to authorities in case of emergencies. The app is secured with Clerk Auth and boasts a responsive user interface for easy navigation. 🛡️🔒

Project Setup

1. Fork the repo by click on the fork icon on the top
2. Clone the repo from your github account https://github.com/Your_Username/Emotrack
3. cd Emotrack
4. npm install
5. cp .env.example .env.local
6. paste in the api keys in the file
7. run the app

Environment Keys

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
RESEND_API_KEY=
GEMINI_API_KEY=
PERSONAL_EMAIL=

Screenshots

Screenshot 2024-07-11 214112 Screenshot 2024-07-11 214140 Screenshot 2024-07-11 214204 Screenshot 2024-07-11 214148 Screenshot 2024-07-11 214216 Screenshot 2024-07-11 214227 Screenshot 2024-07-11 214241 Screenshot 2024-07-11 214249 Screenshot 2024-07-11 214629 Screenshot 2024-07-11 214653

Demo

IMAGE ALT TEXT HERE