Tasks: Creating Tasks for Our Projects
Description: In this video we add the ability to create tasks for a project. Steps: 1. Create an entity and migration for tasks 2. Run the migration 3. Create TasksController that will handle our task related routes 4. Create a route for creating a task 5. Create a validation guard to validate the call and create the task 6. Update projects to have a list of tasks that belong to a project 7. Create a VUE component for displaying a list of tasks and a form for creating to create a new task 8. Update project_show.peb to include our VUE component Source Code: https://github.com/alpascasts/fireplace/releases/tag/v0.9.0 References: 1. [son Field Rules: https://alpas.dev/docs/validation#json-field-rules 2. The belongsTo relationship: https://alpas.dev/docs/entity-relationship#belongsto 3. The hasMany relationship: https://alpas.dev/docs/entity-relationship#hasmany
Download
0 formatsNo download links available.