- http://127.0.0.1:8000/ -> redireciona -> http://127.0.0.1:8000/login
- http://127.0.0.1:8000/movie
- http://127.0.0.1:8000/addmovie
- Considerar verbos HTTP: GET, POST, PUT, DELETE
php artisan serve
extension=pdo_mysql
php artisan make:migration create_table_users --create=users
- 'Movie' quando trata de entidade, fica no singular.
php artisan serve
php artisan migrate
php artisan migrate:rollback
php artisan make:factory MovieFactory
php artisan make:seeder MovieTableSeeder
php artisan make:model Movie
php artisan db:seed
php artisan tinker ....
(no tinker) \App\Models\Movie::all()
// se fizer: --api, deixa mais limpo somente para api
// se fizer: --resource , adiciona campos para web, formulário etc.
php artisan make:controller MovieController --api
php artisan route:list