Adds the composable monorepo template system that generates project skeletons with pluggable components (service, worker, app-react, app-astro, cli). Key changes: - Monorepo skeleton templates with shared pkg/, scripts/, and git hooks - Component templates (service, worker, app-react, app-astro, cli) with Dockerfiles, CI steps, and component.yaml manifests - Component domain model with validation and dependency resolution - Component handler endpoints for CRUD and composition - Template provider extended with BuildComposableProject and component assembly - Deployer extended with composable project deployment support - Handler timeout constants (TimeoutFastLookup through TimeoutLongRunning) - envutil package for centralized env var reads with defaults - api.DecodeJSON helper for standardized request body decoding - Standardized response helpers (WriteBadRequest, WriteNotFound, etc.) - Replaced fullstack-app cookbook with composable-app cookbook - Hardened handler timeouts, logging, and error responses across all handlers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
319 B
Cheetah
18 lines
319 B
Cheetah
# {{COMPONENT_NAME}} Service Configuration
|
|
|
|
# Server
|
|
SERVER_PORT={{PORT}}
|
|
SERVER_HOST=0.0.0.0
|
|
|
|
# App
|
|
APP_NAME={{COMPONENT_NAME}}
|
|
APP_ENVIRONMENT=development
|
|
APP_DEBUG=true
|
|
|
|
# Logging
|
|
LOG_LEVEL=debug
|
|
LOG_FORMAT=text
|
|
|
|
# Database (if needed)
|
|
DATABASE_URL=postgres://dev:dev@localhost:5432/{{PROJECT_NAME}}?sslmode=disable
|