···10101111```bash
1212# Install from JSR
1313-deno install -g jsr:@slices/cli --name slices
1313+deno install -g -A jsr:@slices/cli --name slices
1414+```
1515+1616+### Login to Slices
1717+1818+Before creating a project, authenticate with your AT Protocol account:
1919+2020+```bash
2121+slices login
1422```
2323+2424+This will open a browser window where you can authorize the CLI with your AT
2525+Protocol handle.
15261627### Create Your Project
1728···364375365376### Deno Deploy
366377367367-Create a free account at [deno.com/deploy](https://deno.com/deploy). Push your code to GitHub, then connect your repository through the Deno Deploy dashboard to deploy your app.
378378+Create a free account at [deno.com/deploy](https://deno.com/deploy). Push your
379379+code to GitHub, then connect your repository through the Deno Deploy dashboard
380380+to deploy your app.
368381369369-For production use with Deno Deploy, switch from SQLite to Deno KV for OAuth and session storage:
382382+For production use with Deno Deploy, switch from SQLite to Deno KV for OAuth and
383383+session storage:
370384371385```typescript
372386import { DenoKVOAuthStorage } from "@slices/oauth";
···391405});
392406```
393407394394-Deno KV provides serverless-compatible storage that scales automatically with your deployment.
408408+Deno KV provides serverless-compatible storage that scales automatically with
409409+your deployment.
395410396411## Manual Setup (Advanced)
397412
+12-6
docs/intro.md
···37373838```bash
3939# Install the CLI globally
4040-deno install -g jsr:@slices/cli --name slices
4040+deno install -g -A jsr:@slices/cli --name slices
41414242# Initialize a new slice project
4343slices init my-app
···4747deno task dev
4848```
49495050-The `slices init` command creates a full-stack Deno app with OAuth authentication, automatically creates your slice on the network, and generates a type-safe TypeScript SDK.
5050+The `slices init` command creates a full-stack Deno app with OAuth
5151+authentication, automatically creates your slice on the network, and generates a
5252+type-safe TypeScript SDK.
51535254## Simple Example
5355···105107106108## Key Features
107109108108-- **Schema Validation**: Define lexicons that enforce data structure and constraints
109109-- **Auto-generated APIs**: REST endpoints created automatically from your schemas
110110+- **Schema Validation**: Define lexicons that enforce data structure and
111111+ constraints
112112+- **Auto-generated APIs**: REST endpoints created automatically from your
113113+ schemas
110114- **TypeScript SDKs**: Type-safe clients generated from your lexicons
111115- **Real-time Sync**: Automatic synchronization across the AT Protocol network
112112-- **Advanced Querying**: Filter, sort, and paginate records with a powerful query API
116116+- **Advanced Querying**: Filter, sort, and paginate records with a powerful
117117+ query API
113118- **OAuth Built-in**: Authentication with any AT Protocol account
114119115120## When to Use Slices
116121117122Slices is ideal for:
118123119119-- **Social Applications**: Build specialized communities, forums, or social features
124124+- **Social Applications**: Build specialized communities, forums, or social
125125+ features
120126- **Content Platforms**: Create blogs, documentation sites, or media libraries
121127- **SaaS Products**: Develop collaborative tools with structured data needs
122128- **Web APIs**: Design REST APIs with automatic validation and documentation