···56## Quick Start
78-1. **Copy environment file:**
9- ```bash
10- cp .env.example .env
11- ```
1213-2. **Configure OAuth:** Edit `.env` with your OAuth client credentials from
14- Slices
1516-3. **Start development server:**
17- ```bash
18- deno task dev
19- ```
20-21-4. **Visit your app:** Open http://localhost:8080
2223## Features
24···49## Project Structure
5051```
0052src/
53├── main.ts # Server entry point
54├── config.ts # OAuth & session configuration
055├── routes/ # Route definitions
56├── features/ # Feature modules
57│ └── auth/ # Authentication
···6162## OAuth Setup
6364-1. Register your application at
65- [Slices Developer Portal](https://slices.network)
66-2. Add your OAuth credentials to `.env`
67-3. Configure redirect URI: `http://localhost:8080/oauth/callback`
00000006869## Documentation
70
···56## Quick Start
78+```bash
9+# Start the development server
10+deno task dev
11+```
1213+Visit your app at http://localhost:8080
01415+> **Note:** Your slice and OAuth credentials were automatically configured
16+> during project creation. The `.env` file is already set up with your
17+> credentials.
0001819## Features
20···45## Project Structure
4647```
48+slices.json # Slices configuration file
49+lexicons/ # AT Protocol lexicon definitions
50src/
51├── main.ts # Server entry point
52├── config.ts # OAuth & session configuration
53+├── generated_client.ts # Generated TypeScript client from lexicons
54├── routes/ # Route definitions
55├── features/ # Feature modules
56│ └── auth/ # Authentication
···6061## OAuth Setup
6263+Your OAuth application was automatically created during project initialization
64+with:
65+66+- **Client ID & Secret**: Already configured in `.env`
67+- **Redirect URI**: `http://localhost:8080/oauth/callback`
68+- **Slice**: Automatically created and linked
69+70+To manage your OAuth clients or create additional ones:
71+72+1. Visit [Slices Network](https://slices.network)
73+2. Use the `slices login` CLI command
7475## Documentation
76
···1+/**
2+ * System-wide constants for the Slices CLI
3+ */
4+5+// The main Slices platform slice URI and DID
6+export const SYSTEM_SLICE_URI = "at://did:plc:bcgltzqazw5tb6k2g3ttenbj/network.slices.slice/3lymhd4jhrd2z";
7+export const SYSTEM_SLICE_DID = "did:plc:bcgltzqazw5tb6k2g3ttenbj";
8+9+// Reference slice with base lexicons for new projects
10+export const REFERENCE_SLICE_URI = "at://did:plc:bcgltzqazw5tb6k2g3ttenbj/network.slices.slice/3lzbzumcmvo2z";
11+12+// API endpoints
13+export const DEFAULT_API_URL = "https://api.slices.network";
14+export const DEFAULT_AIP_BASE_URL = "https://auth.slices.network";