|
|
|
@ -36,64 +36,6 @@ It’s designed to promote self-awareness, emotional tracking, and healthier hab
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
## 🚀 Getting Started
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 1. Clone the repository
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
git clone https://github.com/your-username/mindmate.git
|
|
|
|
|
|
|
|
cd mindmate
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 2. Install dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
npm install
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 3. Set up environment variables
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a `.env` file in the root directory and add:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
MONGO_URI=your_mongodb_connection_string
|
|
|
|
|
|
|
|
OPENAI_API_KEY=your_openai_api_key
|
|
|
|
|
|
|
|
PORT=8080
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 4. Run the app
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
npm start
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Your app should now be running on [http://localhost:8080](http://localhost:8080).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 📁 Folder Structure
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
mindmate/
|
|
|
|
|
|
|
|
│
|
|
|
|
|
|
|
|
├── client/ # Frontend (React)
|
|
|
|
|
|
|
|
│ ├── src/
|
|
|
|
|
|
|
|
│ ├── public/
|
|
|
|
|
|
|
|
│ └── package.json
|
|
|
|
|
|
|
|
│
|
|
|
|
|
|
|
|
├── server/ # Backend (Node + Express)
|
|
|
|
|
|
|
|
│ ├── routes/
|
|
|
|
|
|
|
|
│ ├── models/
|
|
|
|
|
|
|
|
│ ├── controllers/
|
|
|
|
|
|
|
|
│ └── app.js
|
|
|
|
|
|
|
|
│
|
|
|
|
|
|
|
|
├── .env.example
|
|
|
|
|
|
|
|
├── README.md
|
|
|
|
|
|
|
|
└── package.json
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 🧩 Contribution Guidelines
|
|
|
|
## 🧩 Contribution Guidelines
|
|
|
|
|
|
|
|
|
|
|
|
We welcome contributions from developers, designers, and mental health advocates.
|
|
|
|
We welcome contributions from developers, designers, and mental health advocates.
|
|
|
|
|