YoVDO

Laravel 8 REST API With Sanctum Authentication

Offered By: Traversy Media via YouTube

Tags

Laravel Courses Web Development Courses SQLite Courses REST APIs Courses Routing Courses

Course Description

Overview

Build a beginner-friendly REST API from scratch using Laravel 8 and implement authentication using API keys with Laravel Sanctum in this comprehensive 54-minute tutorial. Learn to set up Laravel, configure SQLite, create basic routing, develop a Product model and migration, utilize the model, and implement CRUD operations for products. Explore Sanctum setup, route protection, user registration, token generation, logout functionality, and user login. Follow along with provided code examples and consult the Laravel Sanctum documentation for additional reference. Master the essentials of creating a secure and functional REST API with Laravel 8 and Sanctum authentication.

Syllabus

- Intro.
- Set Up Laravel.
- SQLite Setup.
- Basic Routing.
- Product Model & Migration.
- Using the Model.
- Product Controller & Methods.
- Create Products & Validation.
- Single Product & Resource Routes.
- Update Product.
- Delete Product.
- Search Products.
- Sanctum Setup.
- Protecting Routes.
- Auth Controller.
- Register User & Get Token.
- Logout & Delete Token.
- Login User & Get Token.


Taught by

Traversy Media

Related Courses

Computer Networks
University of Washington via Coursera
Cloud Networking
University of Illinois at Urbana-Champaign via Coursera
Front End Frameworks
Google via Udacity
Build a Simple Dynamic Site with Node.js Course (How To)
Treehouse
VLSI Physical Design
Indian Institute of Technology, Kharagpur via Swayam