drop laravel scaffold defaults
removed app/Models/User.php (laravel auth model - tide authors a ddd User entity in app/User/), app/Http/Controllers/Controller.php (controllers live flat in app/Controllers/ per youngstartup), and all three 0001_01_01_* migrations (default users schema, cache, jobs - tide writes its own users migration with is_admin and password_hash). routes/api.php stripped of the sanctum-bound /user demo route - left as an empty stub for incoming domains.
This commit is contained in:
parent
d58bc9036d
commit
c2ba02cc6f
6 changed files with 4 additions and 204 deletions
|
|
@ -1,8 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::get('/user', function (Request $request) {
|
||||
return $request->user();
|
||||
})->middleware('auth:sanctum');
|
||||
// Route registrations land here as the auth, user, post, and comment
|
||||
// domains come online. Empty for now - the skeleton commit only wires
|
||||
// up the file so bootstrap/app.php's withRouting(api: ...) has a valid
|
||||
// target.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue