appwrite avatar

Appwrite Typescript

Typed TypeScript SDK guide for Appwrite covering web, React Native, and Node.js/Deno clients and server-side admin.

CCM score
61 of 100
skills.sh installs
1.1K
GitHub stars
30
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers client-side email, OAuth, and anonymous auth, database row queries, file uploads, and real-time subscriptions
  • Includes React Native OAuth via createOAuth2Token() with deep linking, since createOAuth2Session() does not work there
  • Directs new code to TablesDB over the deprecated Databases class and prefers object-params calls
  • Designed for browser, React Native, and Node.js or Deno backends that need API-key user management and database administration

Install

$ npx -y skills add appwrite/skills --skill appwrite-typescript -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Appwrite TypeScript SDK

Installation

# Web
npm install appwrite

# React Native
npm install react-native-appwrite

# Node.js / Deno
npm install node-appwrite

Setting Up the Client

Client-side (Web / React Native)

// Web
import { Client, Account, TablesDB, Storage, ID, Query } from 'appwrite';

// React Native
import { Client, Account, TablesDB, Storage, ID, Query } from 'react-native-appwrite';

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
    .setProject('[PROJECT_ID]');

Server-side (Node.js / Deno)

import { Client, Users, TablesDB, Storage, Functions, ID, Query } from 'node-appwrite';

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1')
    .setProject(process.env.APPWRITE_PROJECT_ID)
    .setKey(process.env.APPWRITE_API_KEY);

Code Examples

Authentication (client-side)

const account = new Account(client);

// Email signup
await account.create({
    userId: ID.unique(),
    email: 'user@example.com',
    password: 'password123',
    name: 'User Name'
});

Details

Repository
github.com/appwrite/skills
Categories
Backend & APIs, Frontend & UI Code
First seen
Apr 16, 2026

More from appwrite/skills

All 2

Similar to Appwrite Typescript

More Backend & APIs