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.
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)
✅ Source code:
https://github.com/thefaiz/laravel-rest
Subscribe: https://www.youtube.com/c/TheCodePro/featured
#laravel #php