Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TODO List
- Dans un nouveau projet laravel correctement configuré (.env):
- - Créez une nouvelle migration appelée create_tasks_table pour créer une table `tasks`
- - Lancez la migration via artisan
- - Créez un model Task
- - Créez en suite un Controller TaskController
- - Liez l'url '/tasks' à une méthode index dans votre controller
- - affichez une première vue index.blade.php qui se trouve dans un sous-dossier 'resources/views/tasks/'
- - Listez des tâches (que vous aurez créé auparavant via phpmyadmin dans la table tasks)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement