Laravel 8 CRUD Application Tutorial for Beginners, get message, get error (ok)
https://www.itsolutionstuff.com/post/laravel-8-crud-application-tutorial-for-beginnersexample.html
C:\xampp\htdocs\test\routes\web.php
ok
<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\ProductController;
/*
|--------------------------------------------------------------------------
| 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('/', function () {
return view('welcome');
});
Route::resource('products', ProductController::class);C:\xampp\htdocs\test\app\Http\Controllers\ProductController.php
C:\xampp\htdocs\test\app\Models\Product.php
C:\xampp\htdocs\test\resources\views\products\layout.blade.php
C:\xampp\htdocs\test\resources\views\products\create.blade.php
C:\xampp\htdocs\test\resources\views\products\edit.blade.php
C:\xampp\htdocs\test\resources\views\products\index.blade.php
C:\xampp\htdocs\test\resources\views\products\show.blade.php
Last updated
Was this helpful?