A web-based mental health evaluation app that uses AI to assess user inputs and generate personalized psychological insights. Built with Express, Firebase, and Mistral (via Hugging Face), the app supports secure login sessions and features an admin panel to monitor user reports.
-
📋 Mental Health Quiz
Users answer a set of curated questions to assess their mental state. -
🤖 AI-Powered Evaluation
Answers are processed using the Mistral model (Hugging Face) to generate insightful feedback. -
🔐 Secure Login System
Session-based authentication for user access and result tracking. -
🗂️ Firebase Firestore Integration
Stores user answers and AI-generated results securely and per user (via email). -
🧑💼 Admin Panel
Allows admins to:- View all user submissions
- Access detailed results and AI feedback
- Search users by email
- Monitor platform usage
-
Clone the Repository
git clone https://github.com/folliejester/Mental-Health-Evaluation.git cd Mental-Health-Evaluation
-
Install Dependencies
npm i
-
Setup Firebase
- Create a Firebase project
- Enable Firestore
- Set up your Firebase credentials in
fbadmin.json
file
-
Configure Hugging Face Access
- Get your Hugging Face API key and Mistral model endpoint
- Store it in
config.json
-
Run the App
node web.js
-
Visit the App
http://localhost:3000
- User logs in via Firebase.
- They complete a mental health questionnaire.
- Responses are sent to a backend route.
- The Mistral model processes the responses via Hugging Face API.
- The evaluation and answers are stored in Firestore.
- Admins can view these evaluations through the admin panel.
MIT License
Build self-awareness with AI. Reflect, understand, and grow with MindMirror. 💬🧘♂️