Laravel REST API Tutorial - Build an API in Laravel

Опубликовано: 13 Март 2026
на канале: TheCodePro
89,844
1.3k

In this video you'll learn to build a REST API with Laravel 8. We'll add endpoints for creating, reading, updating and deleting a blog post. We'll also take a look at a VS code extension that allows you to test your APIs from within your code editor.

✅ Source code:
https://github.com/thefaiz/laravel-rest

✅ Build a contact form in Laravel:
   • Build a Contact Form in Laravel - Laravel ...  

✅ Learn to consume a REST API with React.js:
   • React JS REST API Tutorial - Create a book...  

0:00 - Intro
0:26 - Database Setup
1:32 - The Post Model
2:45 - All Posts Endpoint
4:36 - Create New Post Endpoint
9:30 - Update Post Endpoint
13:08 - Delete Post Endpoint
15:22 - Refactoring (extracting a controller)


🔴 Want to learn practical web development? Make sure to subscribe:
https://www.youtube.com/c/TheCodePro?...