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.
ReadFollowing the Laravel docs, I created a controller for the Motorbike listings
Read