added basic user registration api
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
@ -16,3 +18,7 @@ use Illuminate\Support\Facades\Route;
|
||||
Route::get('/', function () {
|
||||
return response("not allowed", 404);
|
||||
});
|
||||
|
||||
Route::get("/test", function () {
|
||||
return User::all();
|
||||
});
|
||||
|
Reference in New Issue
Block a user