REST API in Laravel with CRUD functionality (2019) - Laravel Migrations

preview_player
Показать описание
Laravel Migrations is really helpful when managing large systems with complicated database schema with lots of tables.

This video demonstrate how to run database migrations in Laravel.

Simply, Laravel Migrations is a way of Managing or Version Controlling database tables without having to interact with any Database server or client.

Just using your code, you can create, update or delete tables really easy.

When using Laravel Migrations, you don’t just create tables. You define tables in your code. Then you can run them and Laravel Migrations creates them for you.

You can create Laravel Migrations with this command:

php artisan make:migration create_products_table

You can run that migration with this command:

php artisan migrate

Laravel is used to build various server-side applications in the industry. Using Laravel to build APIs is a quite popular these days since it’s fairly easy with Laravel. It comes with Migrations, Pre-defined validations, Easy to manage MVC architecture and so on. And today we’re gonna learn how to build a REST API in Laravel with CRUD functionality

In this series we’re building a Simple REST API with CRUD (Create, Read, Update, Delete) functionality using Laravel. We’ll be creating an API that manages Products. So, the API will be able to Create, Read, Update and Delete products in the database.
Рекомендации по теме