IS
Isha1233/MindMate
MindMate
A mental health chat assistant
Deploy Link : MindMate
Youtube Link : MindMate Youtube Explanation
Our project MindMate got 1st Position ๐ in it ๐๏ธ
Devfolio Link : MindMate Hackathon Project Link
Mindmate is a mental health AI powered chat assistant that guides and helps you to improve your mental health.
Mindmate website provides a user-friendly UI to learn about mental health.
Features
- AI chat assistant to take guidance about mental health.
- Analyse your mental health over a period of time.
- Get an Indication about your mental health condition with a graphical visualization.
- Editor's compiled articles to read and educate about mental health problems.
- Get emails from time to time with suggestions to improve your mental health.
Tech
System Design
MindMate application runs on 4 server
Tech stack
- Frontend
- React JS
- Tailwind
- Backend
- Node Js
- Express Js
- Gemini (Gen AI)
- Web Sockets
- Node Mailer
- Tools
- Vercel
- Render
- Mongo DB
- Firebase
How to Setup Locally?
Firebase Setup
- Setup a new Firebase project
- Add a Web App
- Go to Authentication -> Sign-in Method
- Enable Email/Password, Gmail as Provider
- Go to the Project Settings of Web App and get your
firebaseConfigobject - Create
.envin Frontend folder and addfirebaseConfigas per.env.samplefile - In the service accounts section, Generate
new private key(json object). - Create
.envin Backend folder and addnew private keyas per.env.samplefile - Fill rest
.envas per.env.samplefiles
Gemini Setup
- Get your Gemini (by Google)
API_KEYfrom (https://ai.google.dev) and put in Backend.envas per.env.sample
MongoDB Setup
- Create a MongoDB Atlas (https://www.mongodb.com) account and get your
URIand put in Backend.envas per.env.sample
Create Connection amongst Servers
- Put Url for Websocketserver in Backend .env (ex-
WEBSOCKET_SERVER=ws://localhost:8802) - Put Url for Backend and Websocketserver in Frontend .env (ex-
REACT_APP_API_LINK=http://localhost:8800andREACT_APP_WS_LINK=ws://localhost:8802)
Scripts to Install and Run
- Need to have
Node.jsinstalled - Go to the Backend, Frontend, Websockerserver folder seperately and run for each
npm install - Run Backend by,
npm run devornpm start - Run Frontend by,
npm start - Run Websocketserver by,
node index.js





