> For the complete documentation index, see [llms.txt](https://devanshixaviers.gitbook.io/mfund-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devanshixaviers.gitbook.io/mfund-documentation/setup-guidelines-1/mfund-flutter-app.md).

# 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
```
