Files
task-stream/docs
Josep Piguillem 341241a52f feat(api): REST API with OpenAPI for other apps, behind Pireon OAuth
A REST adapter next to GraphQL (presenters/http) that calls the same
application services, so validation, permissions and domain errors are the
same: projects (members, board, stats, activity), issues (search, workflow,
assignee, release, links, comments, history), comments, releases and users.
Projects and issues can be addressed by id or key (WEB, WEB-12).

- Swagger UI at /api/docs, document at /api/docs-json and apps/api/openapi.json
  (rewritten by `nx serve api`, like schema.gql) for client generation.
- Every route but health/auth/webhook needs a Pireon token: the document
  declares Pireon OAuth2 (authorization code + PKCE, password) through the
  /api/auth/token proxy, and a bearer scheme for apps with their own client.
- configureApp() shares main.ts setup with the e2e, which now also covers REST.
- SWAGGER_ENABLED / OPENAPI_FILE config; docs 03/05 and library READMEs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 15:26:47 +02:00
..
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00
2026-10-03 13:40:26 +02:00

Documentación de TaskStream

TaskStream es una alternativa a Jira para equipos de desarrollo: proyectos, tickets (bugs, features, cambios de UI, tareas, QA), releases, comentarios y relaciones entre tickets, todo en tiempo real.

Documento Para qué
1. Visión general Qué hace el producto, stack y estructura del monorepo
2. Arquitectura Hexagonal, CQRS, event sourcing, flujo escritura → lectura y tiempo real
3. API Dominio (agregados, workflow, eventos) y la API GraphQL
4. Cliente web Angular, NgRx Signals con eventos, GraphQL y @pi/ui
5. Autenticación Pireon: tokens, login en el navegador, sesiones y webhooks
6. Desarrollo Puesta en marcha, comandos, tests y cómo añadir una funcionalidad
7. Despliegue Docker, variables de entorno y escalado
8. Decisiones Por qué está hecho así (y qué alternativas se descartaron)

Cada librería de libs/ tiene además su propio README.md con su responsabilidad y su contenido.

Empezar rápido

docker compose up -d --build     # web en http://localhost:8080

Para entrar hace falta un cliente OAuth de Pireon en .env (ver Autenticación).