Creating APIs From Scratch Using Laravel 7 API Resources

preview_player
Показать описание
In this video, we'll build a basic API from scratch using Laravel 7 API Resources. I will also show you how to implement a full CRUD system and using some pretty Advanced Concepts like SoftDeletes.

LINK TO FOFX() ACADEMY:

LINK TO ARTICLE:

Follow me on
Рекомендации по теме
Комментарии
Автор

Nice one tobi, keep up the good work👍

cyberlair
Автор

Nice one boss, keep up the good work 👍🏾

thankgodbereonwu
Автор

At 31:52 minutes in the video, you are to specify the table your column is unique to in order to rectify the unique key parameter error in the store method. That is:
‘title’ => [‘required’, ‘unique
:posts’]

ridwanoseni
Автор

Hi Tobi... nice one there. Please what extension are using to auto generate the classes when u used the softDelete method. Also what extension are using that suggests code finishes for you? Thanks

ilesanmijohn
Автор

I saw few hours video about API on youtube and you are first don't use in method show(Post $post) something like that: $data = Post::FindOrFail($post).
It's greate . Thank you.

fitterboss
Автор

Normally I would use Faker, But I don't wanna branch on other concepts and allow people to lose focus. Bear with me. Enjoy!!!

codewitholuwatobi
Автор

in postman if you add the header X-Requested-With : XMLHttpRequest, then laravel will format error responses in json instead of html, so it's easier to manage

gaffygaffy
Автор

nice one, love seeing nigerians do cool things

vicsystems
Автор

I want ask is it possible to return the API data on a blade file?

codingcourt