How danielcahya/movie-website works
Galiwe is a Laravel media-discovery site for movies, TV and anime, backed by TMDB, with user accounts and community features. A typical visit enters through Laravel’s web routing, reaches a controller, and returns a page; the sampled AdminController explicitly fetches and caches TMDB listings before rendering catalog pages. The tree also documents search, media details, profiles, watchlists, forums and administration. Their individual wiring is not sampled, so those branches are represented without speculative call chains.
Main entry points: web.php Web routes · AdminController.php Catalog controller · MediaCommentController.php Media comments · LoginController.php Login and users
Components 26
Media discovery
- Catalog controller
app/Http/Controllers/AdminController.php - Live search
app/Http/Livewire/Search.php - Media details
app/Http/Controllers/ShowController.php - Catalog pages
resources/views/movies/index.blade.php - Anime page
resources/views/Animation/animation.blade.php - Details page
resources/views/details/show.blade.php - Search page
resources/views/livewire/search.blade.php
Community features
- Profile controller
app/Http/Controllers/ProfileController.php - Follow controller
app/Http/Controllers/FollowController.php - Watchlist controller
app/Http/Controllers/WatchlistController.php - Forum controller
app/Http/Controllers/ForumController.php - Media comments
app/Http/Controllers/MediaCommentController.php - Profile pages
resources/views/profile/show.blade.php - Forum pages
resources/views/forum/index.blade.php - Comment section
resources/views/details/partials/comments.blade.php
Accounts and admin
- Login and users
app/Http/Controllers/LoginController.php - Admin dashboard
resources/views/Admin/admin.blade.php
Application runtime
- Web routes
routes/web.php - Route provider
app/Providers/RouteServiceProvider.php - User model
app/Models/User.php - Comment model
app/Models/MediaComment.php - Reaction model
app/Models/CommentLike.php
Other components
- Visitor
- TMDB API
- Redis cache
- Application database
Connections 27
- Visitor → Route provider: sends request
- Route provider → Web routes: loads routes
- Web routes → Catalog controller: dispatches
- Web routes → Live search: dispatches
- Web routes → Media details: dispatches
- Web routes → Profile controller: dispatches
- Web routes → Follow controller: dispatches
- Web routes → Watchlist controller: dispatches
- Web routes → Forum controller: dispatches
- Web routes → Media comments: dispatches
- Web routes → Login and users: dispatches
- Catalog controller → TMDB API: requests listings
- Catalog controller → Redis cache: reads and writes
- Catalog controller → Catalog pages: renders catalog
- Catalog controller → Anime page: renders anime
- Live search → Search page: renders results
- Media details → Details page: renders details
- Profile controller → Profile pages: renders profile
- Forum controller → Forum pages: renders forum
- Media comments → Comment section: renders comments
- Media comments → Comment model: creates and updates
- Media comments → Reaction model: manages reactions
- Login and users → User model: reads and writes
- Login and users → Admin dashboard: renders user list
- Comment model → Application database: persists comments
- Reaction model → Application database: persists reactions
- User model → Application database: persists users