Slack Path 4: Microservices
|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add auth-svc /validate endpoint for token checking Add chat-svc with auth client and Redis task queue Add worker-svc chat handler for task processing Co-Authored-By: Claude Code <claude@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .githooks | ||
| apps | ||
| cli | ||
| packages | ||
| pkg | ||
| scripts | ||
| services | ||
| workers | ||
| .gitignore | ||
| .golangci.yml | ||
| .woodpecker.yml | ||
| CLAUDE.md | ||
| docker-compose.yml | ||
| go.work | ||
| package.json | ||
| pnpm-workspace.yaml | ||
| Procfile | ||
| README.md | ||
sp4-debug-1770477266
Slack Path 4: Microservices
Quickstart
# Clone the repo
git clone https://git.threesix.ai/jordan/sp4-debug-1770477266.git
cd sp4-debug-1770477266
# Install dependencies
./scripts/install.sh
# Start local development
./scripts/dev.sh
Project Structure
sp4-debug-1770477266/
├── services/ # Go API services
├── workers/ # Background workers
├── apps/ # Frontend applications
├── cli/ # CLI tools
├── packages/ # Shared TypeScript packages
├── pkg/ # Shared Go packages
└── scripts/ # Development scripts
Scripts
| Script | Description |
|---|---|
./scripts/dev.sh |
Start local development environment |
./scripts/install.sh |
Install all dependencies |
./scripts/quality.sh |
Run quality checks on all components |
./scripts/discover.sh |
List all components in the monorepo |
Adding Components
Components are added via the rdev API:
# Add a Go service
curl -X POST $RDEV_API_URL/projects/sp4-debug-1770477266/components \
-H "X-API-Key: $RDEV_API_KEY" \
-d '{"type": "service", "name": "auth-api"}'
# Add a React app
curl -X POST $RDEV_API_URL/projects/sp4-debug-1770477266/components \
-H "X-API-Key: $RDEV_API_KEY" \
-d '{"type": "app", "name": "dashboard", "template": "app-react"}'