Initial Spark Install
This commit is contained in:
18
spark/install-stubs/routes/api.php
Normal file
18
spark/install-stubs/routes/api.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| API Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register the API routes for your application as
|
||||
| the routes are automatically authenticated using the API guard and
|
||||
| loaded automatically by this application's RouteServiceProvider.
|
||||
|
|
||||
*/
|
||||
|
||||
Route::group([
|
||||
'middleware' => 'auth:api'
|
||||
], function () {
|
||||
//
|
||||
});
|
18
spark/install-stubs/routes/console.php
Normal file
18
spark/install-stubs/routes/console.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Inspiring;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Console Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This file is where you may define all of your Closure based console
|
||||
| commands. Each Closure is bound to a command instance allowing a
|
||||
| simple approach to interacting with each command's IO methods.
|
||||
|
|
||||
*/
|
||||
|
||||
Artisan::command('inspire', function () {
|
||||
$this->comment(Inspiring::quote());
|
||||
})->describe('Display an inspiring quote');
|
16
spark/install-stubs/routes/web.php
Normal file
16
spark/install-stubs/routes/web.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register all of the routes for an application.
|
||||
| It's a breeze. Simply tell Laravel the URIs it should respond to
|
||||
| and give it the controller to call when that URI is requested.
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', 'WelcomeController@show');
|
||||
|
||||
Route::get('/home', 'HomeController@show');
|
Reference in New Issue
Block a user