How rbaronalba/sprintio works
Sprintio is a self-hosted Trello-style project-management app. Users authenticate, choose or create workspaces and boards, then manage lists and cards—including collaboration, attachments, checklists, and time tracking—through the Angular client and NestJS REST API. A shared event log supports activity, notifications, and SSE updates to clients; Redis can distribute events across API instances. The graph emphasizes documented workflows and indexed dependencies; several feature implementations and deployment details were not sampled, so their internal connections are omitted.
Main entry points: events.service.ts Event service · prisma.service.ts PostgreSQL · app.routes.ts App routes · boards.service.ts Boards client
Components 26
Web client
- App routes
apps/web/src/app/app.routes.ts - Auth client
apps/web/src/app/auth/auth.service.ts - Dashboard
apps/web/src/app/dashboard/dashboard.component.ts - Board detail
apps/web/src/app/boards/board-detail.component.ts - Boards client
apps/web/src/app/services/boards.service.ts - Board client
apps/web/src/app/services/board.service.ts - Realtime client
apps/web/src/app/realtime/realtime.service.ts
Identity and access
- Auth API
apps/api/src/auth/auth.controller.ts - Auth service
apps/api/src/auth/auth.service.ts - JWT guard
apps/api/src/auth/guards/jwt-auth.guard.ts - Microsoft sign-in
apps/api/src/auth/microsoft.ts
Workspace and boards
- Workspace API
apps/api/src/boards/workspaces.controller.ts - Workspace service
apps/api/src/boards/workspaces.service.ts - Boards API
apps/api/src/boards/boards.controller.ts - Board service
apps/api/src/boards/boards.service.ts
Cards and collaboration
- Lists API
apps/api/src/lists/lists.controller.ts - List service
apps/api/src/lists/lists.service.ts - Cards API
apps/api/src/cards/cards.controller.ts - Card service
apps/api/src/cards/cards.service.ts - Upload handling
apps/api/src/cards/uploads.ts
Events and persistence
- Events API
apps/api/src/events/events.controller.ts - Event service
apps/api/src/events/events.service.ts - Notifications
apps/api/src/events/notifications.service.ts - Redis pub/sub
apps/api/src/redis/redis.module.ts - PostgreSQL
apps/api/src/prisma/prisma.service.ts
Other components
- User
Connections 35
- User → App routes: uses
apps/web/src/app/app.routes.ts - App routes → Auth client: routes to
apps/web/src/app/app.routes.ts - App routes → Dashboard: routes to
apps/web/src/app/app.routes.ts - App routes → Board detail: routes to
apps/web/src/app/app.routes.ts - Auth client → Auth API: calls auth
apps/web/src/app/auth/auth.service.ts - Dashboard → Boards client: uses
apps/web/src/app/dashboard/dashboard.component.ts - Board detail → Boards client: uses
apps/web/src/app/boards/board-detail.component.ts - Board detail → Board client: uses
apps/web/src/app/boards/board-detail.component.ts - Board client → Boards client: uses
apps/web/src/app/services/board.service.ts - Board client → Cards API: calls REST
apps/web/src/app/services/board.service.ts - Boards client → Boards API: calls REST
apps/web/src/app/services/boards.service.ts - Auth API → Auth service: delegates to
apps/api/src/auth/auth.controller.ts - Auth API → Microsoft sign-in: uses
apps/api/src/auth/auth.controller.ts - Auth service → PostgreSQL: reads and writes
apps/api/src/auth/auth.service.ts - Boards API → Board service: delegates to
apps/api/src/boards/boards.controller.ts - Board service → PostgreSQL: reads and writes
apps/api/src/boards/boards.service.ts - Board service → Event service: records events
apps/api/src/boards/boards.service.ts - Workspace API → Workspace service: delegates to
apps/api/src/boards/workspaces.controller.ts - Workspace service → PostgreSQL: reads and writes
apps/api/src/boards/workspaces.service.ts - Workspace service → Event service: records events
apps/api/src/boards/workspaces.service.ts - Lists API → List service: delegates to
apps/api/src/lists/lists.controller.ts - List service → PostgreSQL: reads and writes
apps/api/src/lists/lists.service.ts - List service → Event service: records events
apps/api/src/lists/lists.service.ts - Cards API → Card service: delegates to
apps/api/src/cards/cards.controller.ts - Card service → PostgreSQL: reads and writes
apps/api/src/cards/cards.service.ts - Card service → Event service: records events
apps/api/src/cards/cards.service.ts - Cards API → Upload handling: handles files
apps/api/src/cards/cards.controller.ts - Events API → Event service: streams events
apps/api/src/events/events.controller.ts - Event service → PostgreSQL: stores event data
apps/api/src/events/events.service.ts - Event service → Redis pub/sub: publishes events
apps/api/src/events/events.service.ts - Event service → Notifications: feeds notifications
README.md - Event service → Realtime client: streams SSE
README.md - Realtime client → Events API: opens stream
apps/web/src/app/realtime/realtime.service.ts - User → Workspace API: manages spaces
README.md - User → Lists API: manages lists
README.md