02 Laravel From Scratch Config, ENV, Migrations, and Todos CRUD

Published: 21 January 2020
on channel: Surajit Basak
97
0

#laravel, #laravelbasics,#todoapp,#laraveltodo,
In the previous tuturial, We talked about laravel framework, How to install it, An introduction to MVC architecture, Created routes, controllers. and views. In this tutorial, we will talk about Models(https://laravel.com/docs/5.8/eloquent), Database Migrations(https://laravel.com/docs/5.8/migrations) and make CRUD operations on todos table with MySQL. CRUD means Create, Read, Update, and Delete from a database.

Create Migration Command:
php artisan make:migration create_todos_table

Migrate Command:
php artisan migrate

Rollback Migration Command:
php artisan migrate:rollback

Create Model Command:
php artisan make:model Todo

Create Model with Migration Command:
php artisan make:model Todo -m

Create Resourceful Controller:
php artisan make:controller TodosController -r

To publish Default Bootstrap Pagination:
php artisan vendor:publish --tag=laravel-pagination

Github Repository Link:
https://github.com/surajitbasak109/La...


Watch video 02 Laravel From Scratch Config, ENV, Migrations, and Todos CRUD online, duration hours minute second in high quality that is uploaded to the channel Surajit Basak 21 January 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 97 times and liked it 0 visitors.