🚀
Launch Stack
Website
  • Welcome
  • Get Started
  • Stack
  • Updates
  • 📡Backend
    • Introduction
    • Application Structure
    • Config
    • API
    • Authentication
      • Email and Password
      • Social Login
    • Debugging
    • Environment Variables
    • File Uploads
    • Logging
    • Mail
    • Handling Errors [Sentry]
    • Notifications
      • Email Notifications
      • In-App Notifications
    • Payments [Stripe]
    • Payments [Paddle]
    • Routing
    • Testing
      • Feature Tests
      • Browser Tests
  • 🛡️Frontend
    • Introduction
    • Routing
    • Tailwind and SCSS
    • Views
    • Layouts
    • Components
      • Command Palette
      • Feedback
      • Form
      • Modal
      • Pagination
    • i18n
  • 🖥️App
    • Account
    • API
    • Billing
    • Team Members
    • Team Settings
  • ⚙️Admin
    • Introduction
    • Team Management
    • User Management
    • Notifications
    • Feedback
    • Blog Management
Powered by GitBook
On this page

Was this helpful?

  1. Backend

Routing

The LaunchStack routes are split into files like:

  • routes/admin.php

  • routes/app.php

  • routes/blog.php

  • routes/website.php

  • routes/web.php [It's responsible to include all routes above]

  • routes/auth.php

  • routes/api.php

  • routes/channels.php

  • routes/console.php

Let's suppose you want to add the help center to your application, you need to create a new file inside the routes folder like help.php

<?php

use Illuminate\Support\Facades\Route;

use App\Http\Controllers\Help\ArticleController;

Route::get('/help', [ArticleController::class, 'index'])->name('help.articles.index');
Route::get('/help/{slug}', [ArticleController::class, 'show'])->name('help.articles.show');
PreviousPayments [Paddle]NextTesting

Last updated 9 months ago

Was this helpful?

📡