PATH:
home
/
lab2454c
/
omvstudio.com
/
routes
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Models\Category; use App\Http\Controllers\API\V1\HomeController; use App\Http\Controllers\API\V1\ProfileController; use App\Http\Controllers\API\V1\DashboardController; use App\Http\Controllers\API\V1\ReviewController; use App\Http\Controllers\API\V1\AuthController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | is assigned the "api" middleware group. Enjoy building your API! | */ Route::middleware('auth:sanctum')->get('/user', function (Request $request) { return $request->user(); }); Route::group(['middleware' => ['auth:sanctum']], function () { Route::get('edit-profile/{id}',[ProfileController::class,'editProfile']); Route::post('update-profile/{id}',[ProfileController::class,'updateProfile']); Route::get('watchlist',[DashboardController::class,'watchList']); Route::get('payments',[DashboardController::class,'paymentHistory']); Route::post('auth/logout', [AuthController::class, 'logout']); Route::post('add-review/{movie_slug}', [ReviewController::class, 'addReview']); }); Route::post('auth/one-time-register', [AuthController::class, 'createOneTimeUser']); Route::post('auth/mongthly-register', [AuthController::class, 'createMongthlyUser']); Route::post('auth/login', [AuthController::class, 'loginUser']); Route::get('home',[HomeController::class,'index']); Route::get('genres/{id?}',[HomeController::class,'categoryList']); Route::get('movie/{slug}',[HomeController::class,'movieDetails']);
[-] web.php
[edit]
[+]
..
[-] wp-blog-header.php
[edit]
[-] channels.php
[edit]
[-] api.php
[edit]
[-] console.php
[edit]
[-] .htaccess
[edit]
[-] wp-cron.php
[edit]