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

# What is Rork's Backend Capabilities?

> Rork provides an optional backend infrastructure for applications requiring server-side functionality. Currently in its beta phase, if you run into any issues, please reach out to Support.

### **Overview**

The backend enables developers to implement custom server logic, API endpoints, and database operations within their Rork applications.

### **Capabilities**

* **API Endpoints**: define custom routes for client-server communication
* **Server-Side Logic**: execute secure operations outside the client application
* **Database Integration**: persistent data storage and retrieval
* **Protected Routes**: authentication and authorization support

### **Technical Stack**

| **Component** | **Technology** |
| :- | :- |
| Server Framework | Hono |
| API Layer | tRPC |

### **When to Use**

A backend is recommended for:

* Social applications with user-to-user interactions
* Multiplayer or real-time collaborative features
* Applications requiring shared or centralized data storage

**A backend is not required for:**

* Single-user applications
* Local data storage use cases
* Applications utilizing only built-in AI features

### **AI Capabilities**

To add AI to your app, describe the feature in chat. Your app then uses **Rork AI Cloud** for AI models, search, images, and voice, with no backend setup. Rork AI Cloud is paid from your credits, at cost, only when your app uses it. See [How credits work](https://docs.rork.com/billing/credits.md) for the costs and the AI models your app can use.

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.