Collection Service Deep Dive
Overview
The Collection Service manages curated groups of items (e.g., "Editor's Picks", "Top Free Tools"). Collections are stored in a collections.yml file within the Git-backed content repository, following the same Git-first architecture as items and categories. The service handles CRUD operations, Git synchronization, and background retry logic.
Source Files
| File | Path |
|---|---|
| Git Service | template/lib/services/collection-git.service.ts |
| Repository | template/lib/repositories/collection.repository.ts |
| Types | template/types/collection.ts |