# 📱 How to Build the Offline APK

I have converted the application to **Offline Mode**. It now stores all data locally on the device, so you **DO NOT** need to deploy a backend server.

## 🚀 Steps to Build APK

1. **Copy the Project:**
   Download the entire `MindShift-Windows` folder to your local machine.

2. **Install Dependencies:**
   Open a terminal in the `MindShift-Windows` folder and run:
   ```bash
   npm install
   ```

3. **Open Android Studio:**
   Run the following command to open the project in Android Studio (you must have Android Studio installed):
   ```bash
   npx cap open android
   ```

4. **Build & Run:**
   - In Android Studio, wait for Gradle to sync.
   - Click the **Run** (Play) button to test on an emulator/device.
   - To build the APK: Go to `Build > Build Bundle(s) / APK(s) > Build APK(s)`.

## ℹ️ Notes
- The app now uses `localStorage` to save your Moods, Thoughts, and Gratitude entries.
- If you uninstall the app, your data will be cleared (standard behavior for local-only apps).
- No internet connection is required for the app to function.
