How ybgentures/gtrs works
This Laravel application serves an Indonesian student-oriented site with public information pages, student login and data access, and an online chess feature. The visible chess workflow routes requests through GameController for matchmaking, moves, game status and results, with room, move and leaderboard models holding game state. Public page and authentication routing are also represented. Evidence is limited to the supplied excerpts, source index and generic Laravel README; several page capabilities are identifiable from the tree, but their route wiring was not fully sampled.
Main entry points: web.php Web routes · GameController.php Game controller · AuthController.php Login handler · PelajarController.php Student routes
Components 20
Web routing
- Laravel entry
public/index.php - App bootstrap
bootstrap/app.php - Web routes
routes/web.php
Identity and students
- Auth routes
routes/web.php - Login handler
app/Http/Controllers/AuthController.php - Student routes
routes/PelajarController.php - Student records
- Login page
resources/views/auth/login.blade.php - Student page
resources/views/pages/pelajar.blade.php
Site content
- Content routes
routes/NewsController.php - Memory routes
routes/RememberController.php - Information pages
resources/views/pages
Chess game
- Chess routes
routes/web_catur.php - Game controller
app/Http/Controllers/GameController.php - Chess page
resources/views/pages/catur.blade.php - Chess client
resources/js/game/catur-game.js - Room state
app/Models/GameRoom.php - Move history
app/Models/GameMove.php - Leaderboard
app/Models/GameLeaderboard.php
Other components
- Visitor
Connections 21
- Visitor → Laravel entry: requests pages
public/index.php - Laravel entry → App bootstrap: loads application
public/index.php - App bootstrap → Web routes: registers routes
bootstrap/app.php - Web routes → Auth routes: loads routes
routes/web.php - Web routes → Student routes: loads routes
routes/web.php - Web routes → Content routes: loads routes
routes/web.php - Web routes → Memory routes: loads routes
routes/web.php - Web routes → Chess routes: loads routes
routes/web.php - Auth routes → Login handler: dispatches to
routes/web.php - Login handler → Student records: checks credentials
app/Http/Controllers/AuthController.php - Login handler → Login page: renders
app/Http/Controllers/AuthController.php - Student routes → Student records: reads records
routes/PelajarController.php - Student routes → Student page: renders
routes/PelajarController.php - Content routes → Information pages: renders news
routes/NewsController.php - Memory routes → Information pages: renders entries
routes/RememberController.php - Chess routes → Game controller: dispatches to
routes/web_catur.php - Game controller → Chess page: renders
app/Http/Controllers/GameController.php - Game controller → Room state: manages rooms
app/Http/Controllers/GameController.php - Game controller → Move history: records moves
app/Http/Controllers/GameController.php - Game controller → Leaderboard: updates scores
app/Http/Controllers/GameController.php - Chess client → Game controller: sends game requests