How gituser-16/moctale-reborn works
Moctale Reborn is a PHP movie-discovery and review site. Visitors browse or search the catalog, open a movie page, and—when signed in—save it or submit a review; movie pages show community verdict and vibe summaries. A separate importer fetches TMDB catalog and credit data into PostgreSQL for the site to serve. The README documents capabilities beyond the sampled implementation, so some feature links are documented rather than source-verified; the unsampled styling and informational pages are represented at their exact tree paths.
Main entry points: index.php Browse and search · login.php Login · content.php Movie details · footer.php Shared footer
Components 16
Movie discovery
- Browse and search
index.php - Movie details
content.php - Site styling
assets/css/style.css - Shared footer
includes/footer.php - About page
about.php - Contact page
contact.php
Accounts and lists
- Sign up
signup.php - Login
login.php - Logout
logout.php - Login guard
includes/auth-check.php - Personal watchlist
watchlist.php
Reviews and community
- Verdicts and vibe chart
content.php
Catalog data
- TMDB catalog importer
api/fetch-tmdb.php - TMDB API
- PostgreSQL catalog
Other components
- Visitor
Connections 23
- Visitor → Browse and search: browses
README.md - Browse and search → PostgreSQL catalog: reads catalog
index.php - Browse and search → Movie details: opens title
index.php - Browse and search → Personal watchlist: opens list
index.php - Movie details → PostgreSQL catalog: reads and writes
content.php - Movie details → Verdicts and vibe chart: renders summaries
content.php - Visitor → Sign up: creates account
README.md - Sign up → PostgreSQL catalog: stores account
signup.php - Sign up → Login: redirects to
signup.php - Visitor → Login: signs in
README.md - Login → PostgreSQL catalog: checks account
login.php - Login → Browse and search: redirects to
login.php - Personal watchlist → Login guard: checks session
watchlist.php - Login guard → Login: redirects unauthenticated
includes/auth-check.php - Personal watchlist → PostgreSQL catalog: reads saved titles
watchlist.php - Visitor → TMDB catalog importer: runs catalog import
README.md - TMDB catalog importer → TMDB API: fetches titles and credits
api/fetch-tmdb.php - TMDB catalog importer → PostgreSQL catalog: writes movie data
api/fetch-tmdb.php - Browse and search → Site styling: uses styles
index.php - Browse and search → Shared footer: includes footer
index.php - Shared footer → About page: links to
includes/footer.php - Shared footer → Contact page: links to
includes/footer.php - Movie details → Login: prompts sign-in
README.md