How to Build API Resources | Laravel API Course | Learn Laravel API | Laravel API Tutorial

preview_player
Показать описание
In this video we will be creating a Laravel API Resource for our typical CRUD actions – Learn how to create APIs in Laravel for its real-time communication support.

📚 New Udemy Course

📲 Let’s plan a meeting

💌 Newsletter

🔥 Resources

Want to learn more?

#laravel #laravel8 #laravelapi #api #crud #resources #apiresource
Рекомендации по теме
Комментарии
Автор

i am new to laravel. i have watched all videos till now and practicing. You are an amazing instructor. Thank you for creating these videos.

lethaldaku
Автор

First time to see you videos and the first impact is that you are a very good teacher. Definitively I will subscribe and see your videos on daily basics.

spotifylogin
Автор

Thank you sweet Dary..hope next videos comes soon..so excited..you are graet..i wish you all the best

Bebe-sgmg
Автор

Hey! First, thank you again for the video! I have a question about the "attributes" field ins JSON. Does rest have such a specification? Where I could look at her? Can u give a link?

Wolfgang
Автор

Sir, Awesome videos.
How to pass blongtomeny relational data?

jobayer
Автор

Hi, Dary. Could you please let me know how we are able to find the author just by passing the ID. Are we not required to run the WHERE command using Eloquent? Thanks.

BharadwajRbwaj
Автор

Dary, im trying to run my request, as u show in 10:35, but i got an error on response: Target class [AuthorsController] does not exist. I've renamed the AuthorController to AuthorsController, as u said, and changed the class name as well. What im doing wrong?

maykelesser
Автор

Why did you mean the the controller name in singular is not the best practice?

martinm
Автор

well i got the access token and after i ran for an author, i got the error 500 with the message
( "message": "Auth guard [api] is not defined.",
"exception": "InvalidArgumentException",
"file": ),
then i fixed this issue by adding 'guards'=>[ here we have 'api' etc, which is working fine, and i get the author details], but now when i run for another access token, it agian gives 500 error with the message ( "message": "Auth guard [web] is not defined.",
"exception": "InvalidArgumentException",
)
, ,, I have seached it at many places, , but couldn't solve it, , , , Please help me with it to solve....
Thanks to everyone in advance

abbasrahim
Автор

i do have a question, i have a problem in my database it said that you are using the default name database and when i replaced the default name it says database not found.

bethelbobmagallano
Автор

what about the status code ? how to deal with it

mohamedal-qadeery
Автор

at 10:48s error: Route[login] is not defined

vinhvo