How marcomartin458/ci-cd works
Tasks API is an Express service for listing, creating, and completing tasks. Requests enter through the HTTP app, which delegates task rules to the service and persistence to a selectable in-memory or PostgreSQL repository. The app also exposes health, readiness, version, and OpenAPI endpoints. The README describes this as a CI/CD starter and says workflows are the learner’s task; no workflows are present, so this map focuses on the implemented runtime. Relationships are based on the shown source and README; unsampled modules are not inferred.
Main entry points: app.js Express API · repositories.js Repository implementations · server.js Server bootstrap · taskService.js Task service
Components 7
HTTP interface
- Express API
src/app.js - OpenAPI spec
openapi.yaml - Server bootstrap
src/server.js
Task domain
- Task service
src/taskService.js
Persistence
- Repository implementations
src/repositories.js - PostgreSQL
Other components
- API client
Connections 8
- API client → Express API: sends requests
src/app.js - Server bootstrap → Repository implementations: selects and initializes
src/server.js - Server bootstrap → Express API: starts
src/server.js - Express API → Task service: delegates tasks
src/app.js - Express API → Repository implementations: checks readiness
src/app.js - Express API → OpenAPI spec: serves
src/app.js - Task service → Repository implementations: reads and updates
src/taskService.js - Repository implementations → PostgreSQL: queries
src/repositories.js