Events Service

Add events service methods to support the subscribe/unsubscribe functionality of an event.

We'll cover the following

At the moment, our dashboard only displays events that users create themselves. In this chapter, we’ll provide users the ability to subscribe to events created by other users, which will also be populated within the dashboard calendar.

We’ll add another module to our event view page that displays a list of the event’s members. In addition to the list of members, we’ll also add a button that will allow users to subscribe and unsubscribe to the event.

Below is our updated code. Use this code to make further changes.

Get hands-on with 1400+ tech skills courses.