How suryani-76/newspaper_app works
CineWire is a movie-news and discovery web app. Readers browse/search news and film information, open articles, and use account features such as bookmarks, reactions, comments, and preferences; applicants can submit reporter or studio applications for admin review. The browser client talks to the Express API, which selects Guardian, TMDB, or local fallback content and persists user and editorial workflows in SQLite. The excerpts establish the main API-to-provider and database links; finer client endpoint wiring and several feature routes were not sampled.
Main entry points: server.js HTTP API · app.js Web client · db.js SQLite records · guardian.js Guardian news
Components 15
Reader experience
- Web client
app.js - Localization
translation.js - Offline shell
sw.js
Application API
- HTTP API
server.js - Accounts and sessions
server.js - News and discovery
server.js - Reader interactions
server.js - Contributor applications
server.js
Content providers
- Guardian news
guardian.js - Film catalog
tmdb.js - Fallback articles
server.js
Persistent state
- SQLite records
db.js
Other components
- Reader
- Guardian API
- TMDB API
Connections 16
- Reader → Web client: uses
app.js - Web client → HTTP API: requests
app.js - Web client → Localization: translates
translation.js - Web client → Offline shell: loads offline
- HTTP API → News and discovery: routes
server.js - HTTP API → Accounts and sessions: routes
server.js - HTTP API → Reader interactions: routes
server.js - HTTP API → Contributor applications: routes
server.js - News and discovery → Guardian news: fetches news
server.js - News and discovery → Film catalog: fetches films
server.js - News and discovery → Fallback articles: falls back
server.js - Guardian news → Guardian API: queries
guardian.js - Film catalog → TMDB API: queries
tmdb.js - Accounts and sessions → SQLite records: reads/writes
server.js - Reader interactions → SQLite records: reads/writes
server.js - Contributor applications → SQLite records: reads/writes
server.js