Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build a robust API using Laravel Sanctum in this comprehensive video tutorial. Dive into the powerful authentication system for SPAs, mobile applications, and simple API tokens. Start by setting up and installing Sanctum, then explore essential concepts such as API response traits and Postman setup. Progress through routing, user registration, and login functionalities before learning how to protect routes effectively. Gain hands-on experience with task migrations, models, and factories. Master various task-related functionalities and conclude with implementing logout features and token revocation. Perfect for developers looking to enhance their Laravel skills and create secure, efficient APIs.
Syllabus
- Introduction
- Setup & Installing Sanctum
- API Response Trait
- Postman Setup
- Routing
- Register functionality
- Login functionality
- Protecting Routes
- Task migration, model and factory
- Tasks functionalities
- Logout functionality / Revoking tokens
Taught by
Code With Dary