Laravel Rest Api Tutorial for Beginners | Laravel Rest Api Tutorial

  Рет қаралды 22,546

Web Tech Knowledge

Web Tech Knowledge

10 ай бұрын

#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
@mayankpant64
@mayankpant64 Күн бұрын
Thank You . Understood very well 🙌
@lancewilliamcatal6870
@lancewilliamcatal6870 3 ай бұрын
Super clear and super straightforward. Thanks for this API tutorial!
@Joel_Powell
@Joel_Powell 5 ай бұрын
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
@celotrovi
@celotrovi Ай бұрын
How to add some sort of api keys authorization system for external entities that are not users of the application?
@horizon6309
@horizon6309 3 ай бұрын
Thank you, Great tutorial 👍 Taught me the basics of building a simple API in Laravel.
@user-oc2qc7fd5n
@user-oc2qc7fd5n 3 ай бұрын
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 4 ай бұрын
thank you, it helped me a lot
@royaljaat6517
@royaljaat6517 8 ай бұрын
you explained well sir
@BERTDELASPEED
@BERTDELASPEED 7 ай бұрын
I love the way you say John Doe
@mohameeeeeed
@mohameeeeeed Ай бұрын
Thank you so much brother
@TonghengKry
@TonghengKry Ай бұрын
thank u sir for this tutorial
@TrikNgonlen
@TrikNgonlen 10 ай бұрын
AWESOME! Thank you!
@WebTechKnowledge
@WebTechKnowledge 10 ай бұрын
You're welcome!
@brianchebon
@brianchebon 4 ай бұрын
good explanation sir
@irniscibra5898
@irniscibra5898 Ай бұрын
great video 😊😊
@justdoitk
@justdoitk 5 ай бұрын
can you show a tutorial api auth from laravel? to use it in react or vue.js
@riyazmohamed6532
@riyazmohamed6532 17 күн бұрын
super
@soflips4452
@soflips4452 8 ай бұрын
osm
@saidaouyous861
@saidaouyous861 7 ай бұрын
thanks man
@AkhileshYadav-lv3kh
@AkhileshYadav-lv3kh 10 ай бұрын
Thank you sir 👍👍
@WebTechKnowledge
@WebTechKnowledge 9 ай бұрын
you are welcome as well
@phildavid96
@phildavid96 5 ай бұрын
can i use resource full controller
@faisalsalam33
@faisalsalam33 10 ай бұрын
❤ good work
@WebTechKnowledge
@WebTechKnowledge 10 ай бұрын
thank you
@uros.u.novakovic
@uros.u.novakovic 5 ай бұрын
A very helpful tutorial for beginners. Thank you!
@WebTechKnowledge
@WebTechKnowledge 4 ай бұрын
Thank you for your kind words! I'm happy to know that the tutorial was helpful for you.
@user-tn1mi4lc3e
@user-tn1mi4lc3e 3 ай бұрын
How can I get it thru javascript?
@aucode
@aucode 10 ай бұрын
This is helpful
@WebTechKnowledge
@WebTechKnowledge 9 ай бұрын
really glad that it was helpful
@chrissmith5371
@chrissmith5371 6 ай бұрын
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 6 ай бұрын
Well it is only to show the basics of api for beginners but thanks for the advice
@brianchebon
@brianchebon 4 ай бұрын
good explanation sir
Laravel 8 REST API With Sanctum Authentication
54:13
Traversy Media
Рет қаралды 542 М.
Laravel 11 tutorial 2024 - Build a REST API from scratch
46:54
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 49 МЛН
The joker's house has been invaded by a pseudo-human#joker #shorts
00:39
Untitled Joker
Рет қаралды 10 МЛН
Tom & Jerry !! 😂😂
00:59
Tibo InShape
Рет қаралды 55 МЛН
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Devtamin
Рет қаралды 182 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,4 МЛН
How to Create Admin Panel in Laravel Easily using Open Admin
16:37
Web Tech Knowledge
Рет қаралды 75 М.
Laravel 11 API in 13 minutes | Sanctum
13:49
WebDevWithArtisan
Рет қаралды 10 М.
Laravel SPA Authentication - setup and common mistakes
16:55
Rest API - Best Practices - Design
15:50
High-Performance Programming
Рет қаралды 98 М.
Junior Code Review: Simple Laravel API - in 5 Different Ways
9:34
Laravel Daily
Рет қаралды 76 М.
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 49 МЛН