> ## Documentation Index
> Fetch the complete documentation index at: https://docs.shipmobilefast.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart w/ StyleSheet

> Let's get you started in 5 minutes.

![Quickstart](https://mintcdn.com/shipmobilefast-51a499dc/rNBXOQ08cKXtmr3A/images/header/quickstart.png?fit=max\&auto=format\&n=rNBXOQ08cKXtmr3A\&q=85\&s=35009e1bd5967b3e4611cc25d706c661)

> [!TIP]
>
> First, make sure you set up your development environment.

## Super Fast Resources for Shipping:

> [card]
>
> For AI Logo Creator:
>
> [![Logo Creator AI](https://mintcdn.com/shipmobilefast-51a499dc/rNBXOQ08cKXtmr3A/images/resources/logome.svg?fit=max\&auto=format\&n=rNBXOQ08cKXtmr3A\&q=85\&s=6770f31c4570098733a499c9a7bce6b8)](https://logomeai.partnerlinks.io/5roh64fyuttq)

> [card]
>
> For Email SMTP Service:
>
> ![Brevo](https://mintcdn.com/shipmobilefast-51a499dc/rNBXOQ08cKXtmr3A/images/resources/brevo.png?fit=max\&auto=format\&n=rNBXOQ08cKXtmr3A\&q=85\&s=7c755f97d62c2dc339be252c61f2a190)
>
> Brevo
>
> [Open](https://brevo.com)

### Then, we are ready to clone the repo.

#### Open your terminal and run the following command:

**Step 1**

> [tab] Starter
>
> ```bash theme={null}
> git clone https://github.com/shipmobilefast/shipmobilefast.git [your-project-name]
> ```

> [tab] Pro
>
> ```bash theme={null}
> git clone https://github.com/shipmobilefast/shipmobilefast-pro.git [your-project-name]
> ```

**Step 2**

```bash theme={null}
cd [your-project-name]
```

**Step 3**

> [tab] npm
>
> ```bash theme={null}
> npm install
> ```

> [tab] yarn
>
> ```bash theme={null}
> yarn install
> ```

> [tab] pnpm
>
> ```bash theme={null}
> pnpm install
> ```

> [tab] bun
>
> ```bash theme={null}
> bun install
> ```

**Step 4**

```bash theme={null}
git remote remove origin
```

**Step 5**

Now we are ready to start the development server. But don't start it yet.

### That's it! Our app is ready to be built.

> [!NOTE]
>
> But we are not done yet. We need to set up the app.json file.

**Step 1**

First open your `app.json` file and find these lines:

```json app.json theme={null}
 {
"expo": {
  "name": "My App",
  "slug": "my-app",
  "scheme": "com.myapp.app",
  ...
  "ios": {
    ...
    "associatedDomains": ["applinks:myapp.com"],
    "bundleIdentifier": "com.myapp.app",
    ...
  },
  "android": {
    ...
    "package": "com.myapp.app",
    ...
    "intentFilters": [
      {
        ...
        "data": [
          {
            "scheme": "https",
            "host": "myapp.com",
          },
          {
            "scheme": "com.myapp.app"
          }
        ],
      }
   ]
  },...
}
```

**Step 2**

Find an app name for yourself. For example: `Ship Mobile Fast`.

**Step 3**

Then create a slug for your app. For example: `ship-mobile-fast`.

**Step 4**

Then create a bundle identifier for your app. For example: `com.shipmobilefast.app`.

> [!NOTE]
>
> I am using both same like: `com.shipmobilefast.app`.

**Step 5**

Then replace the values with your own.

**Step 6**

Result should look like this:

> [!NOTE]
>
> I am using `shipmobilefast.com` as my domain. If you don't have one, you can delete the `associatedDomains` and `data` sections.
>
> ```json {2-5} app.json theme={null}
>   "data": [
>       {
>         "scheme": "https",
>         "host": "shipmobilefast.com",
>       },
>       // Don't delete this one 👇
>       {
>         "scheme": "com.shipmobilefast.app"
>       }
>     ]
> ```

```json theme={null}
  {
    "expo": {
      "name": "Ship Mobile Fast",
    "slug": "ship-mobile-fast",
    "scheme": "com.shipmobilefast.app",
    ...
    "ios": {
      ...
      "associatedDomains": ["applinks:shipmobilefast.com"],
      "bundleIdentifier": "com.shipmobilefast.app",
      ...
    },
    "android": {
      ...
      "package": "com.shipmobilefast.app",
      ...
      "intentFilters": [
        {
          ...
          "data": [
            {
              "scheme": "https",
              "host": "shipmobilefast.com",
            },
            {
              "scheme": "com.shipmobilefast.app"
            }
          ],
        }
      ]
    },
    ...
  }
```

## Supabase

### Now we need to set up Supabase.

**Step 1**

```bash theme={null}
cp .env.example .env
```

**Step 2**

Now we need to set up the environment variables one by one. Start with [Supabase](https://supabase.com/).

![Supabase](https://mintcdn.com/shipmobilefast-51a499dc/SqmsS_BTqGZZOYdS/images/setup/supabase/create.png?fit=max\&auto=format\&n=SqmsS_BTqGZZOYdS\&q=85\&s=18c0e311002e06ac67a0ce815ef45fd7)

**Step 3**

Copy the `URL` and `ANON KEY` and paste them into the `.env` file.

![Supabase](https://mintcdn.com/shipmobilefast-51a499dc/SqmsS_BTqGZZOYdS/images/setup/supabase/copy-keys.png?fit=max\&auto=format\&n=SqmsS_BTqGZZOYdS\&q=85\&s=2664045439e6968c4974fc5b517d29bc)

> [!WARNING]
>
> Warning 1: Don't forget to check `.env` file in the `.gitignore` file.

> [!WARNING]
>
> Warning 2: I strongly recommend to set up your own SMTP server. For example: [Brevo](https://brevo.com/). It is free up to 300 emails per day.
>
> > [!NOTE]
> >
> > I am using it in all my projects.
>
> You can use [Resend](https://resend.com/) too. It's free 100 emails per day.

**Step 4**

Now go to the Authentication section and add your app id: like: `com.shipmobilefast.app`.

![Supabase](https://mintcdn.com/shipmobilefast-51a499dc/SqmsS_BTqGZZOYdS/images/setup/supabase/redirect-url.png?fit=max\&auto=format\&n=SqmsS_BTqGZZOYdS\&q=85\&s=315a6db8858aa4abf13822e505727bcc)

**Step 5**

Now open your codebase and let's start your app.

1. Open your terminal and run the following command:

```bash theme={null}
// WITH EAS
eas build --profile development --platform ios
```

```bash theme={null}
// WITHOUT EAS
npx expo prebuild
npx expo run:ios
// or
npx expo run:android
```

**Step 6**

Probably you will see the error.
eas.json must be created.

**Step 7**

Open your codebase and create `eas.json` file.

**Step 8**

Add this code into `eas.json` file:

```json eas.json {5-7} theme={null}
 "build": {
  "development": {
    "developmentClient": true,
    "distribution": "internal",
     "ios": {
      "simulator": true
    }
  },
```

**Step 9**

Now run the following command again:

```bash theme={null}
eas build --profile development --platform ios
```

**Step 10**

> [!NOTE]
>
> Now your app is ready to be built. 🎉
>
> ```bash theme={null}
>   npx expo start
> ```

### Troubleshooting

#### If you don't set your Supabase URL and ANON KEY in the `.env` file, you will see an error.

![Troubleshooting](https://mintcdn.com/shipmobilefast-51a499dc/SqmsS_BTqGZZOYdS/images/troubleshooting/img1.png?fit=max\&auto=format\&n=SqmsS_BTqGZZOYdS\&q=85\&s=db6802d806f53aff220627b829dbe74c)

```bash theme={null}
watchman watch-del-all
```

> [!NOTE]
>
> If you are using macOS, you can also install `watchman` using Homebrew.

```bash theme={null}
brew install watchman
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.