Appwrite Platform Services
Complete Backend in One Platform
| Service | Description |
|---|---|
| Auth | Email/password, OAuth (30+ providers), JWT, MFA, teams |
| Databases | Document database with collections, queries, permissions |
| Storage | File upload, image transforms, CDN, encryption at rest |
| Functions | Serverless functions in any language (Node, Python, Dart, etc.) |
| Messaging | Email, SMS, push notifications via providers |
| Realtime | WebSocket subscriptions for live updates |
AI App Use Cases
| Use Case | Appwrite Services |
|---|---|
| AI Chat App | Auth + Database (conversations) + Realtime (streaming) |
| RAG Platform | Storage (documents) + Functions (embedding generation) + Database (vectors) |
| Agent Dashboard | Auth + Database (agent configs/logs) + Functions (agent execution) |
| LLM API Gateway | Functions (proxy + rate limit) + Database (usage tracking) |
Serverless Functions for AI
// functions/generate/src/index.js
export default async ({ req, res }) => {
const { prompt } = JSON.parse(req.body);
const response = await fetch('https://api.openai.com/v1/chat/completions', {
method: 'POST',
headers: {
'Authorization': `Bearer ${process.env.OPENAI_API_KEY}`,
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'gpt-4o',
messages: [{ role: 'user', content: prompt }]
})
});
const data = await response.json();
return res.json({ answer: data.choices[0].message.content });
};SDKs (12+ Languages)
# Web/Node.js
npm install appwrite
# Python
pip install appwrite
# Flutter/Dart
flutter pub add appwrite
# React Native, Swift, Kotlin, PHP, Ruby, Deno...Self-Hosting
Appwrite runs anywhere Docker runs:
- Single server deployment
- Kubernetes (Helm charts available)
- Cloud VMs (AWS, GCP, Azure, DigitalOcean)
FAQ
Q: What is Appwrite? A: Appwrite is an open-source backend platform with 55,500+ GitHub stars providing auth, databases, storage, functions, messaging, and real-time in one self-hostable package. SDKs for 12+ languages.
Q: How is Appwrite different from Supabase or PocketBase? A: Supabase is PostgreSQL-centric with SQL. PocketBase is a single binary with SQLite. Appwrite is a full platform with more services (messaging, teams, MFA) and SDKs for more languages. Appwrite is best for multi-platform apps (web + mobile + server).
Q: Is Appwrite free? A: Yes, open-source under BSD-3-Clause. Self-host for free. Appwrite Cloud has a generous free tier.