Files
ggdeals/app/Config/Routes.php
T
deepseek fff7a4b9b9 GG.deals clone: CodeIgniter 4 + MongoDB game price tracker
- Full gg.deals-style UI: deal feed with filters, game pages with price
  history charts, rankings, vouchers, news, prepaids, subscriptions,
  bundles, franchises, wishlist, API docs
- Real data crawlers:
  * gg:crawl (Steam Store API + GOG Catalog + Epic free games)
  * gg:catalog (252K game slugs from gg.deals sitemaps)
  * gg:ggdeals (per-game prices via FlareSolverr session, JSON-LD parsing)
  * gg:seed / gg:crawl-covers (demo seed + Steam CDN cover art)
- 24/7 self-updating scheduler (scripts/scheduler_loop.php, lockfile-protected)
- Tailwind v4 dark/light theme, Alpine.js, Chart.js
2026-08-23 07:06:02 +00:00

34 lines
1.4 KiB
PHP

<?php
use CodeIgniter\Router\RouteCollection;
/** @var RouteCollection $routes */
$routes->get('/', 'Home::index');
$routes->get('deals', 'Home::feedOnly');
$routes->get('deals/(:segment)', 'Home::preset/$1');
$routes->get('game/(:segment)', 'Game::show/$1');
$routes->get('stores', 'Stores::index');
$routes->get('rankings', 'Rankings::index');
$routes->get('vouchers', 'Vouchers::index');
$routes->get('vouchers/(:segment)', 'Vouchers::store/$1');
$routes->get('news', 'News::index');
$routes->get('news/(:segment)', 'News::index/$1');
$routes->get('article/(:segment)', 'News::article/$1');
$routes->get('deal/(:segment)', 'News::article/$1');
$routes->get('freebie/(:segment)', 'News::article/$1');
$routes->get('giveaway/(:segment)', 'News::article/$1');
$routes->get('games', 'Games::index');
$routes->get('games/(:segment)', 'Games::index/$1');
$routes->get('prepaids', 'Prepaids::index');
$routes->get('wishlist', 'Wishlist::index');
$routes->get('api/wishlist', 'Wishlist::data');
$routes->get('franchises', 'Franchise::all');
$routes->get('franchise/(:segment)', 'Franchise::index/$1');
$routes->get('bundle/(:segment)', 'Bundle::index/$1');
$routes->get('api/suggest', 'Api::suggest');
$routes->get('api/prices', 'Api::prices');
$routes->get('api', 'Api::docs');
$routes->get('faq', 'Pages::faq');
$routes->get('page/(:segment)', 'Pages::tutorial/$1');
$routes->get('subscriptions', 'Subscriptions::index');