Registration module in development state

This commit is contained in:
Andrey Pokidov
2020-04-05 16:36:34 +07:00
commit 0830274a05
31 changed files with 424 additions and 0 deletions

0
Routes/.gitkeep Normal file
View File

20
Routes/api.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| 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:api')->get('/register', function (Request $request) {
return $request->user();
});
*/

14
Routes/web.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('register', 'RegisterController@index');