Controllers

Controllers

Creating Adminstrative Rights

From reading the Laravel Middleware documentation, the initial setup involved creating the middleware file, `php artisan make:middleware AdminMiddleware`, which created the file in `Http/Middleware/AdminMiddleware.php`, and implementing logic to ensure a user had admin privileges.

Read
Controllers

Creating a Motorbike Controller

Following the Laravel docs, I created a controller for the Motorbike listings

Read