(docs): add CLAUDE.md with project instructions

This commit is contained in:
Jake Barnby
2026-03-31 13:29:56 +13:00
parent edbf7f1dae
commit ea35115de6
+32
View File
@@ -0,0 +1,32 @@
# Appwrite Console
SvelteKit web dashboard for Appwrite. Manages projects, databases, functions, auth, storage, and messaging.
## Commands
| Command | Purpose |
|---------|---------|
| `pnpm dev` | Start dev server (Vite) |
| `pnpm build` | Production build |
| `pnpm check` | Svelte type checking |
| `pnpm format` | Format with Prettier |
| `pnpm clean` | Clean build artifacts |
## Stack
- SvelteKit + TypeScript
- Vite for bundling
- Appwrite Pink design system (`@appwrite.io/pink-svelte`)
- CodeMirror for code editing
- Prettier for formatting, svelte-check for type checking
## Architecture
- `src/routes/` — SvelteKit file-based routing
- `src/lib/` — shared components, stores, helpers
- `src/lib/stores/` — Svelte stores for app state
- Uses Appwrite SDK for all backend communication
## Cross-repo context
The `feat-dedicated-db` feature spans cloud, edge, and console. When modifying API contracts or response models, check the other repos for breaking changes.