CSE 340: Web Backend Development

W04 Team Activity: Updating Service Projects

Overview

For this team activity, you will meet for a 1-hour synchronous team meeting using Microsoft Teams video sharing.

Please make every effort to attend this meeting. If you cannot attend, you must complete the Absent from Meeting Checklist.

In this activity you will create an update form for service projects, including the form, the controller, and the model functions to process it.

Activity Instructions

Before the Meeting

Before the meeting begins, each person should individually do the following:

For the meeting, follow these steps.

Determine the Leader for the Meeting

Choose one person that will be the leader for this meeting. Their role will be to help guide the rest of the team through the steps of the meeting. Try to rotate so that each person gets a chance to be the leader of at least one meeting.

Begin with Prayer

One person on the team should begin the meeting with a prayer.

Code Review (10 minutes)

Select one person to share their screen and share some of their code from the last week. (Try to rotate so that each person gets a chance to share at least once during the course.)

Feel free to share your screen and discuss any of these issues in detail.

Understand the Requirements

In this activity you will add the ability to edit service projects. This will involve the following steps:

Create the model function

Create an updateProject model function that follows the example of the updateOrganization model function in this week's learning activity.

Here are a few things to remember:

Group Discussion

Create the controller functions

Create controller functions: showEditProjectForm and processEditProjectForm that follow the example of the Edit Organization controller functions in this week's learning activity.

Here are a few things to remember:

Group Discussion

Create the routes

Create the routes to display the edit form and process the form submission. The routes should follow the example of the Edit Organization routes from this week's learning activity.

Here are a few things to remember:

Group Discussion

Create the Edit Project EJS page

create the edit-project EJS page that follows the example of the Edit Organization Form from this week's learning activity.

Here are a few things to remember:

Add a link to the edit form

Add a link to the edit form on the project details page. This link should point to the route that displays the edit form for the specific project (/edit-project/{id}).

Deploy and test

Once you have everything working, deploy your code to your hosting server and verify that it works there.

Conclude the meeting

You have now completed all the steps of the activity.

Make sure to finish on your own if needed

You need to complete all the steps in this team activity before submitting your quiz. If you are not able to finish some of the steps during your meeting, you will need to finish them on your own after the meeting is over.

Submission

After you have completed all the steps for this team activity, return to Canvas to submit the associated quiz.

Other Links: