# Mfund Flutter App

## Mfund-app :

### Clone Repositories

Mfund Flutter app is a mono repo git project. We need to clone four repositories for flutter app.

* mfund-app&#x20;
* mfund-api-service : Contains all repositories and API call for flutter app.
* mfund-framework : Contains BloCs , States and Events.
* mfund-common-modules : Contains services, utils and common widgets for both mfund-app and mfund-dashboard-app.&#x20;
* mfund-dashboard-app :&#x20;

```
mkdir mfund-flutter-app
cd mfund-flutter-app
git clone <URL for mfund-app>
git clone <URL for mfund-api-service>
git clone <URL for mfund-framework>
git clone <URL for mfund-common-modules>
```

### Setup for Firebase in mfund-app

* Create Firebase Storage by following this documentation - <https://firebase.google.com/docs/storage/android/start>
* Setup firebase for IOS app using following documentation - <https://firebase.google.com/docs/flutter/setup?platform=ios>
* Setup firebase for Android app using following documentation - <https://firebase.google.com/docs/flutter/setup?platform=android>

### Run the mfund-app

```
cd mfund-flutter-app
flutter run
```

## Mfund-dashboard-app :

### Clone Repositories

We need to clone four repositories for mfund-dashboard-app as we did in mfund-app

* mfund-dashboard-app
* mfund-api-service
* mfund-framework
* mfund-common-modules

```
mkdir mfund-flutter-dashboard
cd mfund-flutter-dasboard
git clone <URL for mfund-dashboard-app>
git clone <URL for mfund-api-service>
git clone <URL for mfund-framework>
git clone <URL for mfund-common-modules>
```

### Run the mfund-dashboard-app

```
cd mfund-flutter-dasboard
flutter run
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devanshixaviers.gitbook.io/mfund-documentation/setup-guidelines-1/mfund-flutter-app.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
