Nick Paterson

Nick Paterson

Web Developer | 🌐 Passionate about web development and creating digital solutions that make a difference.

  • Motorbike Classifieds Website
  • All Articles
  • Setup
  • Routes
  • Models
  • Controllers
  • Policies
  • Issues
  • email
  • github
  • codepen
  • linkedin
© All rights reserved.

Controllers

December 2023Controllers

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
November 2023Controllers

Creating a Motorbike Controller

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

Read
← PREV
→ NEXT