# Supabase

## Supabase Integration: Your App's Supercharged Backend

### What Is Supabase?

**Supabase is an open-source** complete backend database with no server setup required.

Think of it as your app's brain: it stores data, handles user authentication, manages files, and even sends real-time updates to all your users instantly, integrated seamlessly with eMOBIQ AI!

{% columns fullWidth="true" %}
{% column width="50%" valign="middle" %}

<figure><img src="https://1183608340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUDFGj32EEDxm4CJ43yZ%2Fuploads%2Fgit-blob-99434e2c5f3e2ee8db060e570413203aa6777005%2Fimage%20(2)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}
**What Supabase Offers**

* **PostgreSQL Database:** Store user data, posts, products, anything
* **Real-Time Sync:** Changes appear instantly across all devices
* **User Authentication:** Login, signup, magic links, OAuth (Google, Apple, etc.)
* **File Storage:** Upload and serve images, videos, documents
* **Row-Level Security:** Control who can see/edit what data
* **RESTful API:** Automatically generated for your database

<a href="https://supabase.com/docs" class="button primary" data-icon="up-right-from-square">Supabase Documentation</a>
{% endcolumn %}
{% endcolumns %}

{% columns fullWidth="true" %}
{% column %}
**Pricing That Scales With You**

Supabase offers a generous free tier, perfect for getting started:

* **Free Tier:** 500MB database, 1GB file storage, 50,000 monthly active users
* **Pro Tier ($25/month):** 8GB database, 100GB storage, 100,000 users
* **Team & Enterprise:** Custom limits for production app

<a href="https://supabase.com/pricing" class="button primary" data-icon="up-right-from-square">Supabase Pricing</a>
{% endcolumn %}

{% column %}

<figure><img src="https://1183608340-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsUDFGj32EEDxm4CJ43yZ%2Fuploads%2Fgit-blob-403af0475aa88202fae95b79aaf1352ea0c6f072%2Fimage%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
*Start free, scale when you need to. No surprise bills.*
{% endhint %}

***

### Why eMOBIQ AI + Supabase = Magic ✨

{% columns fullWidth="true" %}
{% column %}
**The Problem With Traditional Development:**

Building a backend takes weeks. You need to:

* Design database schemas
* Write API endpoints
* Handle authentication
* Set up file storage
* Sync data across devices
* Deploy and maintain servers

**Estimated time:** 2–4 weeks for an experienced developer.
{% endcolumn %}

{% column %}
**The eMOBIQ AI Solution:**

**Tell the AI what data you need. It sets up Supabase automatically.**

```
Example Prompt:
"Build a recipe app where users can save their favorite recipes with photos."
```

**What eMOBIQ AI Does:**

1. Creates a `recipes` table in Supabase with columns: `title`, `ingredients`, `instructions`, `photo_url`, `user_id`
2. Sets up authentication so users can sign up/login
3. Configures file storage for recipe photos
4. Generates all the code to save, fetch, and display recipes
5. Enables real-time sync so updates appear instantly

**Your job:** Describe what you want. **eMOBIQ's job:** Make it work.
{% endcolumn %}
{% endcolumns %}
