Setting up a new Laravel project - How to make a Laravel CRUD API Tutorial #1

preview_player
Показать описание
In this tutorial we'll set up an API as a subdomain with Laravel and use Postman to test requests.

Get the code here:

Follow me on social media:
Twitter: @QuentinWatt
Facebook: @quentinwatt
Instagram: @quentinwatt

Subscribe:

I also make videos here:

Donate with Paypal:
Рекомендации по теме
Комментарии
Автор

It's been mentioned but only in replies that if you are on a Windows machine you will need to modify your etc/hosts file to have both the domains accessible

sellmeawaffle
Автор

Easy to understand. Thank you for making this.

CalicoArchives
Автор

I must say this first episode has given the courage "to make that jump" to valet. Thanks for this awesome tutorial. Thank you!

nickmwaniki
Автор

Thank you so much ..you are really awesome... I was trying to learn API creation....
And here you are doing

Thanks again

syedsameerhasan
Автор

Calling env() in your code is a bad practice since env() function is slow. Consider api domain to your config file and call env() there since config gets cached and then use that config variable in your code.

Also, thank you for awesome series, love watching them!

matejl
Автор

Thank very much!! now I understand how to use API. Thank you!! Thank you!!

kennethpineda
Автор

hey Sir, you are delivering a great content and extremly well understood, are you expecting please to make a long detailled video for the most used tool like wordpress dev. ? ( php, css ..) to let us learn how to master the themes/plugins customization and creation please ? thank you x 1000 for your content.

samirsamir
Автор

Thanks a lot Quentin. A very nice tutorial. Please include my request as well along with Leon's request. Vue SPA (with vuetify or Quasar) and Laravlel Passport. Kind regards.

Kuldeep
Автор

Nice clear explanation. I think it would be better to use a config file for the API domain that can be cached rather than access the env function directly? It could also concat API prefix and APP_URL ?

MarkSnape
Автор

hey i am doing html5 and you are helping me

ravidahmed
Автор

It would be great if you will make a video adding Laravel Passport to this project, including password reset. And a Vue SPA as a front end.

leonvanrijswijk
Автор

Are you planning on doing any more Laravel? Would be great! 👍 Like a full Laravel beginners course?

adante
Автор

Do you have a tutorial for auth API with token?

mel-
Автор

Hi there Quentin! Great videos!! Just a question: Is there a benefit of using subdomain for api instead of /api/? From an SSL perspective, it is more expensive to protect a wildcard instead of a single URL. Thanks in advance.

christostsangaris
Автор

Do you have any tutorial on Laravel subdomain application.

faisalkhan
Автор

Domain issue: I had an error by entering Then I removed value and tried with No errors.

Kuldeep
Автор

Hi. Thanks for the work. This is a very useful tutorial. I am practicing this tutorial on my local ubuntu server. I was trying to fetch to API using the subdomain version you taught in the tutorial but its showing "this site can't be reached" issue whenever I try to get method. I think it has to something with creating a subdomain in my virtual server or maybe something else. Can you help me resolve the issues?

IamRinzin
Автор

when i try to make the on windows ( timestamp 7:07 ), my browser and postman cant reach this site. Is there a different way from windows os?

jeffcorpuz
Автор

hey in the starting code you wrote api.peoplefinder.test but it didnt work for me can you help?

unsh
Автор

what is this api for? external users who want to use your data or is this a crud system called an api? thx

rw