Conclusion on Event Recommendations

Let's conclude what we’ve learned so far and upload our updated application to GitHub.

We'll cover the following

What have we done so far?

In this chapter:

  • We created a new service method to retrieve a list of restaurant recommendations for our events.
  • We created and added another feature module to our event view page that’s conditionally displayed depending on the suggestLocations value that’s set when creating a new event.
  • In the event that it’s set to true, we display a list of restaurants to our users.

We’ve now finished the event view page and all of the various feature modules that we’ve pieced together to create it.

Let’s finish by committing our latest changes and pushing them to GitHub.

Note: Git may ask you to set your account’s identity before committing changes to the GitHub. For this, use the following commands to set your email address and username.

git config --global ""
git config --global "Your Name"

Below are the commands to push changes to the GitHub repository.

git init
git remote add origin
git add .
git commit -m "Add recommendations list"
git push origin master

Run the code below and execute the commands in the lets-get-lunch directory.

Get hands-on with 1200+ tech skills courses.