AppView in a box as a Vite plugin thing hatk.dev

docs: rewrite homepage feature highlights and remove Prisma references

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+10 -10
+1 -1
docs/site/getting-started/project-structure.md
··· 74 74 75 75 ## `lexicons/` -- AT Protocol schemas 76 76 77 - Lexicons are JSON schemas that define your data model. Think of them like Prisma models, but for the AT Protocol -- they describe records (data types stored in user repositories), queries (GET endpoints), and procedures (POST endpoints). 77 + Lexicons are JSON schemas that define your data model for the AT Protocol. They describe records (data types stored in user repositories), queries (GET endpoints), and procedures (POST endpoints). 78 78 79 79 ``` 80 80 lexicons/
+9 -9
docs/site/index.md
··· 13 13 link: /cli/ 14 14 15 15 features: 16 - - title: Typed end-to-end 17 - details: Lexicons generate TypeScript types for records, queries, and feeds. Your editor catches mistakes before your users do. 18 - - title: SQLite by default 19 - details: No external database to configure. Data lives in a single file that just works — locally and in production. 20 - - title: OAuth built-in 21 - details: AT Protocol auth with session cookies. Login, logout, and viewer resolution with zero setup. 22 - - title: SvelteKit-first 23 - details: Full-stack with SSR, remote commands, and typed XRPC calls from a generated client. 16 + - title: Convention-driven storage 17 + details: Define lexicons, get tables with full-text search and pagination. No DDL to write. 18 + - title: File-based backend 19 + details: Files in server/feeds/ become feed generators. Files in server/xrpc/ become endpoints. 20 + - title: OAuth included 21 + details: Server-side AT Protocol OAuth with session cookies. Configure scopes in hatk.config.ts. 22 + - title: Typed from lexicons 23 + details: Lexicons generate TypeScript types for records, queries, feeds, and the client. 24 24 --- 25 25 26 26 ## Project Structure ··· 41 41 │ └── getProfile.ts # defineQuery('...', ...) 42 42 ├── seeds/ 43 43 │ └── seed.ts # Test fixture data 44 - ├── lexicons/ # AT Protocol schemas (like Prisma models) 44 + ├── lexicons/ # AT Protocol schemas 45 45 ├── hatk.config.ts # Server configuration 46 46 └── hatk.generated.ts # Auto-generated types from lexicons 47 47 ```