Welcome to the Codaqui Backstage Portal! This is a developer portal built with Backstage that provides a unified interface for managing software components, APIs, and documentation.
📖 For Technical Documentation: See AGENTS.md for complete architecture details, multi-backend setup, AI agent instructions, and development guidelines.
- Node.js 20 or 22 (managed via nvm)
- Yarn (enabled via corepack)
- Podman or Docker
- GitHub Account
-
Clone the repository
git clone https://github.com/codaqui/backstage.git cd backstage -
Install Node.js and dependencies
nvm use 22 corepack enable yarn install -
Configure environment variables
cp .env.example .env
Edit
.envwith your credentials:- GitHub OAuth App: Create at https://github.com/settings/applications/new
- GitHub App: Create at https://github.com/organizations/codaqui/settings/apps/new
- See
.env.examplefor detailed instructions
-
Run the portal
yarn docker:up:build
Access the portal at http://localhost:3000
The portal uses a multi-backend architecture with NGINX as reverse proxy:
| Service | Port | Responsibility |
|---|---|---|
| frontend | 3000 | NGINX serving React app + API proxy |
| backend-main | 7007 | Auth, Scaffolder, Search, Permissions |
| backend-catalog | 7008 | Catalog, GitHub Org sync |
| backend-techdocs | 7009 | TechDocs generation and serving |
| postgres | 5432 | Database |
See AGENTS.md for the complete architecture diagram and detailed service descriptions.
# Development
yarn docker:up:build # Build and start all services
yarn docker:down # Stop all services
yarn docker:logs # View logs
# Code Quality
yarn quality:check # Lint + type-check + format
yarn validate # Quality + tests
# Testing
yarn test # Run unit tests
yarn test:e2e # Run Playwright e2e testsSee AGENTS.md for the complete list of scripts.
For testing Kubernetes integration locally:
# Apply K8s resources to your cluster
kubectl apply -f ./default/k8s/deployment.yaml
# Start with K8s profile enabled
export CODAQUI_TESTING_WITH_KUBERNETES=true
yarn docker:up:build- AGENTS.md - Complete technical documentation
- Backstage Documentation
Contributions are welcome! Before contributing, please read AGENTS.md for:
- Project architecture and structure
- Code standards and patterns
- Testing guidelines
- Common pitfalls to avoid
This project is licensed under the Apache License 2.0 - see the original LICENSE file for details.
- GitHub Issues: https://github.com/codaqui/backstage/issues
- Email: contato@codaqui.dev