AI-powered mental wellness mobile app for University students in Ghana — built with React Native, Expo, Spring Boot, and PostgreSQL.
# MoodMate — React Native Frontend
AI-powered mental wellness mobile app for university students in Ghana.
Built with **React Native**, **Expo SDK 54**, **TypeScript**, and **Spring Boot** (backend).
---
## Contributors
- Orleans-Barnes
- kwakuOhene
- [Isaac-kusi]
- (
github.com)
---
## Prerequisites
Make sure you have these installed before you start:
| Tool | Version | Download |
|------|---------|----------|
| Node.js | 18 or higher |
nodejs.org |
| Git | Any |
git-scm.com |
| Expo Go (phone) | Latest | Play Store / App Store |
---
## Getting Started
### 1. Clone the repository
```bash
git clone
github.com
cd moodmate-app
```
### 2. Install dependencies
```bash
npm install
```
### 3. Update the backend IP address
Open `src/config.ts` and replace the IP with your teammate's PC IP address:
```ts
export const BACKEND_BASE_URL = '
your_pc_ip';
```
**How to find your IP (Windows):**
1. Open Command Prompt
2. Run: `ipconfig`
3. Find **IPv4 Address** under your Wi-Fi adapter
4. Replace `YOUR_PC_IP` with that address (e.g. `192.168.1.105`)
> ⚠️ This IP changes every time you reconnect to Wi-Fi. Always check it first if the app can't connect.
### 4. Start the backend first
The backend must be running before you launch the app.
See the `backend` branch for backend setup instructions.
### 5. Run the app
```bash
npm start
```
Then:
- Install **Expo Go** on your Android phone
- Scan the **QR code** shown in the terminal
- Make sure your phone and PC are on the **same Wi-Fi network**
---
## Project Structure
```
moodmate-app/
├── App.tsx # App entry point & navigation setup
├── src/
│ ├── api/ # All backend API calls
│ ├── components/ # Reusable UI components
│ ├── navigation/ # React Navigation stack & tab config
│ ├── screens/ # All app screens organised by feature
│ │ ├── admin/ # Adm …