Choose Backend logo

Choose Backend

Community
khadinakbarlabs
choose-backend

Decision matrix for choosing an Expo app backend: Supabase vs Firebase vs Convex vs custom. Use when the user says 'which backend', 'choose backend', 'supabase or firebase', 'backend decision', or 'pick database'.

Overview

Publisherkhadinakbarlabs
Repositoryexpo-mobile-app-builder
Skill namechoose-backend
Stars
3
Forks
0
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by khadinakbarlabs on GitHub. Read the source before you install it.

Installation

Install the Choose Backend AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/khadinakbarlabs/expo-mobile-app-builder/tree/main/skills/choose-backend
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/khadinakbarlabs/expo-mobile-app-builder.git /tmp/expo-mobile-app-builder
mkdir -p .claude/skills
cp -r /tmp/expo-mobile-app-builder/skills/choose-backend .claude/skills/choose-backend
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Choose Backend in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Choose Backend on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Choose Backend is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Choose Backend

The decision tree. No "best" answer — depends on what your app does.

Decision matrix

NeedBest pickRunner-up
Just auth + PostgresSupabaseConvex
Realtime collaboration (cursors, presence)ConvexSupabase Realtime
Heavy AI app, server-side OpenAI callsCloudflare Workers + DOVercel + Postgres
Complex queries, lots of joinsSupabaseCustom Postgres
Want zero ops, push everythingFirebaseConvex
Need full SQL accessSupabaseCustom Postgres
Solo founder, ship in 2 weeksSupabaseFirebase
Will sell company eventuallySupabase (data portable)Custom
App Clip / lightweightCloudflare Workers KVFirebase
Heavy image/video storageSupabase Storage / R2Firebase Storage

Detailed pros/cons

Supabase ⭐ default for indie apps

Pros:

  • Postgres (real database, SQL access)
  • Built-in auth (email, magic link, OAuth, Apple Sign In)
  • Realtime via Postgres LISTEN/NOTIFY
  • Storage (S3-compatible)
  • Edge Functions (Deno-based)
  • Self-hostable (you own your data)
  • Generous free tier ($0 up to 500MB DB, 1GB storage)

Cons:

  • Realtime is OK but not Convex-tier
  • Scaling beyond ~$200/mo means custom Postgres
  • Edge Functions are Deno (not Node) — some libraries don't work

Best for: 80% of iOS apps. Default unless you have specific reason otherwise.

Convex

Pros:

  • Realtime is the BEST in class (Cursor uses it)
  • Functions = code (no SQL needed)
  • Built-in optimistic updates
  • Schema-as-code (no migrations)

Cons:

  • Vendor lock-in (data isn't trivially portable)
  • Smaller ecosystem
  • Pricing more aggressive at scale ($25/mo + usage)

Best for: Realtime collab apps, multiplayer games, agentic UIs.

Firebase (Firestore)

Pros:

  • Mature, reliable, Google
  • Excellent client SDKs (offline-first built in)
  • Free tier is generous
  • Auth + Storage + Functions all integrated

Cons:

  • NoSQL (Firestore) — joins are painful, queries limited
  • Vendor lock-in (BigQuery export is one-way)
  • Functions are slow cold-start
  • Pricing can spike unexpectedly with bad query patterns

Best for: When you want Google-grade reliability and don't need SQL.

Cloudflare Workers + D1 + R2

Pros:

  • Cheapest at scale (free tier covers most apps)
  • Edge-deployed for low-latency global workloads
  • Hyperdrive for connecting to your own Postgres
  • D1 (SQLite) for small data, R2 for files

Cons:

  • More plumbing (auth needs Lucia / Better Auth)
  • D1 has scale limits (~10GB)
  • Workers have CPU time limits per request

Best for: AI apps with heavy server logic, image processing, edge functions.

Just BaaS-free (server-side from RN direct to APIs)

For some apps you don't need a backend at all:

  • App is offline-first (drizzle-orm + expo-sqlite)
  • Auth via Apple Sign In (no email/password storage)
  • Subscriptions via RevenueCat (handles backend for you)
  • Sync via iCloud (CloudKit via expo-cloudkit)

This is the MINIMUM viable backend: zero servers. Works for journaling, habit tracking, calculators, single-player games.

Decision flow

Is the app multi-user?
├─ No → No backend needed. Use SQLite + iCloud sync.
└─ Yes → Continue

Does it need realtime collab?
├─ Yes → Convex
└─ No → Continue

Will you ever migrate or sell?
├─ Need data portability → Supabase
└─ Don't care → Firebase or Supabase

How much budget?
├─ $0/mo target → Cloudflare Workers + D1
├─ <$100/mo → Supabase or Firebase free tier
└─ Scale-ready → Supabase Pro or custom

A sensible default

Start with the smallest option that fits the product and validate current pricing, regions, limits, data-processing terms, and exit path before creating an account. For many relational Expo apps, Supabase is a reasonable option because it offers Postgres, Auth, and an edge-function boundary for keeping private AI-provider keys off device.

Pair with

  • add-supabase-auth (next skill) for auth setup
  • add-trpc if going custom backend
  • subscription-server-validation for RC + your backend integration

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Choose Backend AI skill do?

Decision matrix for choosing an Expo app backend: Supabase vs Firebase vs Convex vs custom. Use when the user says 'which backend', 'choose backend', 'supabase or firebase', 'backend decision', or 'pick database'.

Why use Choose Backend on TypingMind?

Because you install it once and use it with any model. Choose Backend is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Choose Backend in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/khadinakbarlabs/expo-mobile-app-builder/tree/main/skills/choose-backend. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Choose Backend?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Choose Backend?

As many as you like. As long as a model supports skills, you can use Choose Backend with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Choose Backend AI skill free?

Yes. It is published on GitHub by khadinakbarlabs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇