Laravel 8 REST API With Sanctum Authentication

preview_player
Показать описание
Beginner-friendly REST API from scratch using Laravel 8. We will implement authentication using API keys with Laravel Sanctum.

Code:

Laravel Sanctum Docs:

Timestamps:
0:00 - Intro
1:46 - Set Up Laravel
3:23 - SQLite Setup
4:15 - Basic Routing
6:38 - Product Model & Migration
10:56 - Using the Model
14:39 - Product Controller & Methods
17:30 - Create Products & Validation
21:53 - Single Product & Resource Routes
24:05 - Update Product
25:32 - Delete Product
26:54 - Search Products
29:48 - Sanctum Setup
33:22 - Protecting Routes
38:38 - Auth Controller
39:05 - Register User & Get Token
45:30 - Logout & Delete Token
48:00 - Login User & Get Token
Рекомендации по теме
Комментарии
Автор

We all here agree that we need more tuts for Laravel from you Brad.

ruzhdihaxhiu
Автор

We really need more tutorials about Laravel !
Thank you Brad

mouradeljayi
Автор

Omg, Thank you so much Brad. Your Previous Laravel video (lsapp) was my first ever laravel course in my life and it changed a lot in my life. Now i'm working as a Laravel Backend developer in a reputed company. Thank you so much again. You have been a role model in my life ❤️

jareerzeenam
Автор

This is exactly what i wanted😮 and boom I got a Traversy Media video🔥

Kader-sujr
Автор

Waiting so long for your own laravel content. Thank you so much 😍

maazktk
Автор

If possible please make a react front end for Laravel. This is a nice combination that is not seen often.
Naturally, thank you for for all the videos you provide. They are immense help.

Vasmir
Автор

I got an interview for a API developer job next week, the company's stack is Laravel. This is the most useful video I have seen in a long time. Thank you so much

irenejenna
Автор

Awesome content and I think it is very likeable that you don't try to cover up or cut out any mistakes / typos etc. because that keeps it so authentic. Thanks for the effort man, much appreciated 👍

stefans
Автор

A Laravel tutorial with Microservices Architecture would be greaaaat!!! Thank you!

abderrahimlahyani
Автор

You and Mosh are the greatest code Instructors on YouTube who make very difficult and blurry things very simple and crystal clear. Love the way you teach. You aren't wasting a single minute in unrelated things. Whenever you bring something, you always come up with something solid.

code_magpie
Автор

After learning most of the basics of Laravel, I have recently started thinking about APIs (which is not so much content indeed). So, it was right to time with the right context for me. Thank you, Brad!

mirodil.kamilov
Автор

Doesn't matter how many channels I go through, in the end Brad's videos are the ones I understand the best. Thank you, great video!

SiddharthBhansali
Автор

Oh my, I really love the way you taught this... simple, straight forward, organized and calm. Amazing Thanks Brad !

michealgabriel
Автор

Awesome tutorial, dude! I went from having never touched Laravel to being confident enough to make an API with authentication.

Anothy
Автор

I quit watching your videos online, now i only give it a like then download it, so that i can go back an forth, and get the whole value. Just finshed laravel crash course yesterday, and i really appreciate what you are giving us *for free*, brad is truly a valuable resource.

josephizz
Автор

Great teacher! You go straight to the point, you explain in a easy way to understand, you take your time to explain the details of what you are doing. Keep up the good work!

Edit: I found the video, and thought this was your channel. I don't know if you have a channel of your own already, explaining code, laravel or other stuff, but you really should.

santysasa
Автор

I got a job as a php/laravel developer after watching your videos. Gudos bro. Love your teaching steps.

kiplanget
Автор

Hands down, the only tutorial that worked out for me. It was laughing so hard towards the end but I learned a lot from this. More power to you Brad!

s-sugoi
Автор

This is exactly why I need it right now for my college task.

gilangrama
Автор

Seriously the quality of your content is beyond insane. I have not gotten this level of education during my whole time on the university. How the possibility of learning something new has improved within the last 15 years... It always blows my mind.

BruceMcGivern