Use this skill for Appwrite integration in plain JavaScript or TypeScript web apps.
Verified Baseline
- Web quick start supports npm package setup and CDN usage.
- SDK initialization requires endpoint and project ID.
- Docs include a TypeScript-focused section for typed row modeling.
Setup Workflow
- Register web platform domains in Appwrite Console.
- Install
appwrite package for module-based projects.
- Create a dedicated client initializer.
- Implement auth bootstrap and user session checks.
- Add typed data-access layer for TablesDB operations.
JavaScript Pattern
- Keep SDK usage in small service modules.
- Normalize error handling for auth and data APIs.
- Keep write paths behind explicit permission checks.
TypeScript Pattern