How erraksalma/cin-track works
Cin-Track is a browser-based film and series discovery app. Users load a remote catalogue, then search, filter and paginate results; they can open title details and manage favorites, which persist in LocalStorage. The main module coordinates these actions and updates the page, while rendering helpers produce cards and modal content and the store fetches catalogue data. The README documents the product capabilities; the relationship edges below are limited to calls and DOM interactions visible in the sampled JavaScript.
Main entry points: main.js App controller · store.js Catalog loader · index.html App page · render.js Card renderer
Components 11
User interactions
- App controller
js/main.js - Search and filters
js/main.js - Pagination
js/main.js - Favorites
js/main.js
Catalog data
- LocalStorage
- Catalog loader
js/store.js - Remote catalog
Presentation
- App page
index.html - Card renderer
js/render.js - Details renderer
js/render.js
Other components
- Visitor
Connections 10
- Visitor → App controller: interacts with
js/main.js - App controller → Catalog loader: loads catalog
js/main.js - Catalog loader → Remote catalog: fetches data
js/store.js - App controller → Search and filters: handles input
js/main.js - App controller → Pagination: handles paging
js/main.js - App controller → Favorites: updates favorites
js/main.js - Favorites → LocalStorage: reads and writes
js/main.js - App controller → Card renderer: renders cards
js/main.js - App controller → Details renderer: renders details
js/main.js - App controller → App page: updates DOM
js/main.js