# Examples

Learn from complete example applications.

## Available Examples

- [Blog](/examples/blog/) - Full-featured blog with authentication
- [Linkly](/examples/linkly/) - URL shortener with analytics
- [Gallery](/examples/gallery/) - Image gallery with uploads

## Running Examples

Each example can be cloned and run locally:

```bash
# Clone the example
npx degit squirrelsoft-dev/cloudwerk/examples/blog my-blog

# Install dependencies
cd my-blog
pnpm install

# Run development server
pnpm dev
```

## What's in Each Example

All examples demonstrate:

- File-based routing with pages and layouts
- Data loading with loader functions
- Form handling with actions
- Authentication flows
- Database operations with D1

Check individual example pages for specific features demonstrated.