Skip to content

Bhavanish19/MindSage

Repository files navigation

MindSage

Empower Your Mental Well-being with AI-Driven Insights

🌟 Overview

MindSage is an AI-powered mental health assistant designed to provide real-time insights and personalized recommendations to help users track and improve their well-being. Built with cutting-edge technologies, it ensures high performance, scalability, and an intuitive user experience.

🚀 Features

Real-time Health Monitoring – Track daily symptoms, medications, and wellness insights.
AI-Powered Chat – Engage with an AI assistant for instant mental health support.
Premium Tools – Unlock advanced functionalities with a one-time payment of $9.
Seamless Integration – Built on a modern tech stack for optimal performance.
Personalized Recommendations – AI-driven insights to help manage stress, anxiety, and mental well-being.

🔧 Tech Stack

Frameworks & Libraries

  • Next.js
  • Tailwind CSS
  • Shadcn UI & Headless UI
  • Zod
  • TanStack Query
  • Framer Motion
  • Zustand

Authentication & Payments

  • Clerk
  • Stripe

Database & ORM

  • MongoDB
  • Prisma

AI Integration

  • Gemini API / Google Generative AI

🎥 Video Demo

🔹 Watch the full demonstration of the Showcase AI Agent in action:

https://drive.google.com/file/d/1Dn24yt3q6vZWLx062NZ1VZ1DMAinXpyP/view?usp=drive_link

📁 Project Structure

mindsage/
├── public/
├── src/
│   ├── app/
│   │   ├── (marketing)/
│   │   ├── dashboard/
│   │   └── auth/
│   ├── components/
│   ├── actions/
│   ├── lib/
│   ├── hooks/
│   └── styles/
├── prisma/
│   └── schema.prisma
├── data/
├── package.json
├── next.config.mjs
├── tailwind.config.ts
└── README.md

🛠 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/your-username/mindsage.git
cd mindsage

2️⃣ Install Dependencies

npm install
# or
yarn

3️⃣ Configure Environment Variables

Create a .env.local file in the project root with the necessary credentials.

4️⃣ Run Prisma Migrations

npx prisma db push
# or
npx prisma migrate dev

5️⃣ Start the Development Server

npm run dev
# or
yarn dev

Visit http://localhost:3000 to explore the MindSage app.

📌 Usage

🔹 Sign Up / Log In – Create an account using Clerk authentication.
🔹 Complete Onboarding – Input basic health details for personalized recommendations.
🔹 Dashboard Features:

  • 🏠 Home – Overview of wellness stats and recommendations.
  • 💬 AI Chat – Get AI-generated insights on mental health.
  • 📅 Activities – Track journaling, walking, and medication adherence.
  • 🎧 Audio Therapy – Access curated playlists and podcasts.
    🔹 Premium Features – Unlock additional tools for one-time payment.

🚀 Deployment

MindSage can be deployed to any Node.js-compatible hosting platform, such as Vercel, Netlify, or Docker. Ensure that all necessary environment variables are set in production.

🤝 Contributing

We welcome contributions! If you’d like to improve MindSage, feel free to open an issue or submit a pull request.

🔹 Fork this repository
🔹 Create a feature branch (git checkout -b feature/newFeature)
🔹 Commit your changes (git commit -m 'Add some newFeature')
🔹 Push to the branch (git push origin feature/newFeature)
🔹 Open a Pull Request

❤️ Acknowledgments

Clerk – Authentication & user management
Stripe – Payment processing
Prisma & MongoDB – Database handling
Tailwind CSS, Shadcn UI & Headless UI – Beautiful UI components
Google Generative AI – AI-powered mental health chat


🌿 Empower your mental wellness with MindSage! If you love this project, consider starring ⭐ the repo and sharing it with your friends!