Laravel Rest Api Tutorial for Beginners | Laravel Rest Api Tutorial

  Рет қаралды 24,810

Web Tech Knowledge

Web Tech Knowledge

11 ай бұрын

#laravelapitutorial
#laravelrestapitutorial
#laravelapitutorialforbeginners
Join this channel to get access to perks:
/ @webtechknowledge
If you get helped from this tutorial, please subscribe my channel and stay with me to get more powerful tip 
Thanks For Watching.
I hope This video was helpful.If you have any questions then let me know in the comment section.
Best of luck
.#webtechknowledge
You can connect with me with the given links below:
Please Subscribe to this channel: / @webtechknowledge
Join this channel to get access to perks: / @webtechknowledge
Follow me on :
Facebook Link: / yaminshakil07
Instagram Link: / yamin_shakil
Twitter Link: / yaheashakil

Пікірлер: 32
@Joel_Powell
@Joel_Powell 6 ай бұрын
Create some timestamps while helping someone new to Laravel learn API creation. Hopefully helpful for others. 0:18 create laravel project - laravelapitutorial 
1:20 create static route to student 2:58 make:controller for StudentController 
4:08 implement index method for StudentController
 4:52 make:model (and -m migration) for Student 5:18 edit migration file for students table 
5:44 set fillable columns in model file 
6:14 run migration
 6:32 view table in phpMyAdmin 6:58 edit StudentController to add Student model and eloquent query to all
 9:18 retest student api in browser
 9:34 manually add data in student table using phpMyAdmin
 10:07 use Postman to example API results
 11:19 add POST method for student calling upload method (and using Validator) 13:16 implement handler for if validation fails
 14:46 implement handler for success 16:25 use Postman to test POST method for student API (shows debugging steps)
 18:28 building JSON to sent via POST in Postman
 19:10 using Postman to show validation failures
 19:42 using Postman to complete a valid POST
 19:57 using Postman to use GET method to see record was inserted successfully
 20:20 using phpMyAdmin to see raw data in database
 20:28 add one additional record in student via POST student api
 20:52 use GET request to ensure it was inserted properly 
21:05 add new route to edit data (PUT request, method name is edit) 
21:38 implement edit method in StudentController
 22:00 implement validation rules
 22:40 finding record to edit using eloquent 
23:15 testing edit method using Postman for record 1
 23:52 show validation failing 
25:03 show edit succeeding
 25:35 add new route to delete data (DELETE request, delete method) 25:59 implement delete method in Student Controller
 27:31 testing delete method in Postman for record 3 (some debugging)
 28:37 using GET request to ensure it was deleted properly
@lancewilliamcatal6870
@lancewilliamcatal6870 4 ай бұрын
Super clear and super straightforward. Thanks for this API tutorial!
@horizon6309
@horizon6309 5 ай бұрын
Thank you, Great tutorial 👍 Taught me the basics of building a simple API in Laravel.
@mayankpant64
@mayankpant64 Ай бұрын
Thank You . Understood very well 🙌
@user-oc2qc7fd5n
@user-oc2qc7fd5n 4 ай бұрын
Wow! That's friggin awesome! Can you make a part 2 for this a continuation of this tutorial but with authentication like sanctum or passport? Thank you so much! Subscribed!
@Almassa-jt2sv
@Almassa-jt2sv 5 ай бұрын
thank you, it helped me a lot
@royaljaat6517
@royaljaat6517 9 ай бұрын
you explained well sir
@TonghengKry
@TonghengKry 3 ай бұрын
thank u sir for this tutorial
@mohameeeeeed
@mohameeeeeed 2 ай бұрын
Thank you so much brother
@BERTDELASPEED
@BERTDELASPEED 8 ай бұрын
I love the way you say John Doe
@irniscibra5898
@irniscibra5898 2 ай бұрын
great video 😊😊
@TrikNgonlen
@TrikNgonlen 11 ай бұрын
AWESOME! Thank you!
@WebTechKnowledge
@WebTechKnowledge 11 ай бұрын
You're welcome!
@brianchebon
@brianchebon 5 ай бұрын
good explanation sir
@saidaouyous861
@saidaouyous861 8 ай бұрын
thanks man
@riyazmohamed6532
@riyazmohamed6532 Ай бұрын
super
@celotrovi
@celotrovi 2 ай бұрын
How to add some sort of api keys authorization system for external entities that are not users of the application?
@soflips4452
@soflips4452 9 ай бұрын
osm
@AkhileshYadav-lv3kh
@AkhileshYadav-lv3kh 11 ай бұрын
Thank you sir 👍👍
@WebTechKnowledge
@WebTechKnowledge 10 ай бұрын
you are welcome as well
@faisalsalam33
@faisalsalam33 11 ай бұрын
❤ good work
@WebTechKnowledge
@WebTechKnowledge 11 ай бұрын
thank you
@uros.u.novakovic
@uros.u.novakovic 6 ай бұрын
A very helpful tutorial for beginners. Thank you!
@WebTechKnowledge
@WebTechKnowledge 6 ай бұрын
Thank you for your kind words! I'm happy to know that the tutorial was helpful for you.
@aucode
@aucode 11 ай бұрын
This is helpful
@WebTechKnowledge
@WebTechKnowledge 10 ай бұрын
really glad that it was helpful
@justdoitk
@justdoitk 6 ай бұрын
can you show a tutorial api auth from laravel? to use it in react or vue.js
@phildavid96
@phildavid96 7 ай бұрын
can i use resource full controller
@user-tn1mi4lc3e
@user-tn1mi4lc3e 4 ай бұрын
How can I get it thru javascript?
@chrissmith5371
@chrissmith5371 7 ай бұрын
I needed English subtitles :/ - overall a decent tutorial for a basic introduction. Please though - do not use this code in production. It is very bad.
@WebTechKnowledge
@WebTechKnowledge 7 ай бұрын
Well it is only to show the basics of api for beginners but thanks for the advice
@brianchebon
@brianchebon 5 ай бұрын
good explanation sir
Laravel 11 tutorial 2024 - Build a REST API from scratch
46:54
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 91 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Devtamin
Рет қаралды 196 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Build APIs with Flask (the right way)
49:09
microapis
Рет қаралды 8 М.
Laravel 11 Tutorial for Beginners - Laravel Crash Course (2024)
1:22:20
The Codeholic
Рет қаралды 150 М.
How To Create A Simple REST API in PHP
13:02
Vicode Media
Рет қаралды 217 М.
Laravel 8 REST API With Sanctum Authentication
54:13
Traversy Media
Рет қаралды 544 М.
Laravel 10 tutorial - Build a REST API from scratch
30:00
TutsPrime
Рет қаралды 36 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН