All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Adds complete media storage pipeline with GCS presigned uploads, AI image/video/text generation via queue-based workers, realtime SSE event streaming, and comprehensive skeleton packages (storage, mediagen, textgen, generation, realtime, persona, routing, ai-client). Includes security fixes for media delete authorization, nil pointer guards in handlers, video persistence via download-then-upload, consistent signed URLs, and Image→ImageIcon rename to avoid DOM collision. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
# Examples
|
|
|
|
This directory contains example projects that are rendered from rdev's skeleton templates.
|
|
|
|
## full-monorepo
|
|
|
|
A fully rendered monorepo skeleton with all component types:
|
|
|
|
| Component | Type | Purpose |
|
|
|-----------|------|---------|
|
|
| `services/example-api` | service | Go REST API |
|
|
| `workers/example-worker` | worker | Go background worker |
|
|
| `apps/example-astro` | app-astro | Astro landing page |
|
|
| `apps/example-react` | app-react | React SPA |
|
|
| `apps/example-nextjs` | app-nextjs | Next.js dashboard |
|
|
| `cli/example-cli` | cli | Go CLI tool |
|
|
|
|
### Purpose
|
|
|
|
1. **Template testing**: Ensures templates render correctly and compile
|
|
2. **IDE debugging**: Step through generated code with full syntax highlighting
|
|
3. **Documentation**: Shows what rendered projects look like
|
|
|
|
### Regenerating
|
|
|
|
To regenerate after template changes:
|
|
|
|
```bash
|
|
./scripts/verify-skeleton.sh --update
|
|
```
|
|
|
|
### Verification
|
|
|
|
To verify templates are in sync:
|
|
|
|
```bash
|
|
./scripts/verify-skeleton.sh # Full verification (Go + TypeScript)
|
|
./scripts/verify-skeleton.sh --quick # Skip TypeScript
|
|
```
|
|
|
|
## How This Works
|
|
|
|
1. `cmd/render-skeleton/main.go` - CLI tool that renders templates using the actual `templates.Provider`
|
|
2. `internal/adapter/templates/provider.go` - Has `RenderSkeletonToDir` and `RenderComponentToDir` functions
|
|
3. `scripts/verify-skeleton.sh` - CI script that checks sync and attempts builds
|