Conclusion on Event List

Let's upload our updated application to GitHub and conclude this chapter.

We'll cover the following

What have we done so far?

In this chapter:

  • We added a new service method to EventsService for returning all events within our database.
  • We created a new feature module, adding a new route to AppRoutingModule.
  • We added a table containing a list of events returned to us from our new service method, providing users a new link within the navbar to view these events.

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 user.email "you@example.com"
git config --global user.name "Your Name"

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

git init
git remote add origin https://github.com/your-username-here/lets-get-lunch-fe.git
git add .
git commit -m "Add events list"
git push origin master

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

Get hands-on with 1400+ tech skills courses.