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

# Do You Need a Backend for Your App?

> Learn exactly when your Rork project requires backend setup and when you can skip it entirely. This guide helps you avoid building a backend for no reason.

### After building your app in Rork, use this documentation to decide if your app needs a backend or can stay local only.

## **Summary**

Rork builds the **frontend** of your app: the screens people see and touch, on iPhone, on Android, and on the web. A **backend** is the part they never see. It stores data, keeps accounts, and enforces rules. Not every app needs one.

By the end of this page you will know which category your idea falls into, and what to do next.

**You need:**

* A Rork project
* A general idea of what your app does

***

## **1. What Counts as “No Backend.”**

### Local-Only Apps (Everything Stays on the Device)

These are apps that store all their data on the user's phone.\
No sync needed. No logins required. No sharing implemented.

**Examples:**

* Todo lists
* Notes apps
* Journals
* Habit trackers
* Mood logs
* Calculators
* Timers
* Unit converters
* Offline flashcards
* Photo filters/AI Gen
* Utility widgets

Rork can build and store the data for all of these with **no backend at all**, using the device's own storage: the local store on the phone, and a secure store for anything sensitive.

As long as the data never leaves the device, local storage is enough. If your app is not saving data yet, ask in chat:

```
Make sure the data is stored on the device and survives a restart
```

***

### Tools With Temporary / Non-Persistent Data

These apps don’t care about storing long-term state at all.

**Examples:**

* Playground apps (drawing, sandbox)
* Local mini-games
* One-off AI generators that do not keep the result
* Fun tools that make something but do not need to remember it

If nothing needs to persist after the app closes, then no backend is needed to store or manipulate anything. Most simple applications built on Rork will behave like this by default.

***

### AI Apps That Only Call an External API

If your app just sends a prompt to GPT and returns the response:

**You do not need a backend.**

You’re just making requests to OpenAI or another AI provider.

Backend becomes optional only when:

* You want the user history
* You want personalization
* You want usage tracking

This extends to any external API. As long as you do not need to store this data, then feel free to use any API without a backend.

***

## **2. Apps That Always Need a Backend**

### Apps With Accounts or Login

If the user “has an account,” you need:

* Authentication
* Restoring user data
* Sync across devices

**Examples:**

* Social apps
* Productivity apps with cloud sync
* Finance apps
* Any multi-device workflow

***

### Apps That Sync Across Devices

A user writes a note on their phone and expects it on their laptop.\
That requires:

* Database
* Cloud sync
* Persistent storage

A backend is required.

***

### Apps With Sharing, Collaboration, or Multiplayer

If more than one person can see, edit, or comment on the same thing:

* Messaging
* Friends lists
* Comments
* Posts
* Social Feeds
* Real-time collaboration
* Matchmaking like Dating apps

All of this needs a backend.

***

### Apps That Store Files

If your app handles:

* Images
* Videos
* PDFs
* Audio recordings

…and these files need to persist across different devices, you need to use a backend.

Local storage will not cut it for cross-device or sharable content.

***

### Apps With Security or Access Rules

If the app enforces any rule between users:

* Blocking
* Moderation
* Rate limiting
* Anti-spam

Client-only apps can’t enforce rules. A backend would be required.

***

## **3. Gray-Zone Apps (Optional Backend)**

### Local-First Apps With Optional Sync Later

Some apps work great without a backend, then add cloud features later.

**Examples:**

* Journal → adds cloud backup
* Notes app → adds multi-device sync
* Offline photo editor → adds “share to cloud.”

You can ship v1 with no backend and add sync when you grow.

***

### AI Apps With Memory or Personalization

You can choose:

* **Local-only memory** → no backend
* **Cloud memory across devices** → backend
* **Personalized models** → backend

Your v1 can be simple with local storage; once you have users, you can move to a more secure and advanced system, such as cloud or Personalized.

## Decided that you need one?

You have three routes. **Rork Cloud** is the shortest, because it lives inside Rork and there is no second account to manage.

> [card] [Rork Cloud](https://docs.rork.com/backend/rork-cloud.md)
>
> A managed backend inside Rork: Postgres, server functions, and AI models. No separate account.

> [card] [Supabase](https://docs.rork.com/backend/supabase.md)
>
> ⏱️ *1 hour*
>
> Your own Postgres project, with auth and storage. Good if you want to own the database.

> [card] [Firebase](https://docs.rork.com/backend/firebase.md)
>
> ⏱️ *1 hour*
>
> Google's NoSQL option, with Firestore, auth, and storage.

Build your app with Rork today.

Ship iOS, Android, and web apps by chatting with AI.

[Try Rork for Free](https://rork.com?utm_source=docs\&utm_medium=referral\&utm_campaign=docs-cta\&utm_content=cta-banner)


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